The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
Help in PHP function - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1) +--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5) +--- Thread: Help in PHP function (/showthread.php?tid=419) |
Help in PHP function - samezoobi - Dec 30th, 2009 Hi!! I have just started the programing web development. I face the problem with the header function. The function doesn't redirect. Found this error. Warning: Cannot modify header information - headers already sent by (output started at /home/kabeet/public_html/flash/page_add.php:4) in /home/public_html/page_add.php on line 72 Please help. RE: Help in PHP function - stephenmendes - Dec 30th, 2009 I think you should try the net to get more information on the same. As you are a starter, please discuss the problem with a mentor to get immediate and exact reply. RE: Help in PHP function - Ben - Dec 31st, 2009 Heya, Any time you see a "Warning: Cannot modify header information" error message, that means exactly that: PHP has already started sending information to the output stream. So if, say, you tried sending any headers (like a header("location: ...") redirect) after the opening <html> tag, it won't work & just throw that error. Good luck tracking down the problem! - Ben |