Forum Moderators: coopster

Message Too Old, No Replies

Need help with my Image Hosting Script...

         

iuploads

6:07 am on Dec 11, 2004 (gmt 0)

10+ Year Member



Hello. I was told this forum was a great place to get some help with my PHP problems.

I get the following error:

Warning: Cannot modify header information - headers already sent by (output started at /home/uploads/public_html/config.php:23) in /home/uploads/public_html/account.php on line 6

Also when I try to login to the admin area of my site, I get similiar errors. Please help!

[edited by: ergophobe at 9:09 am (utc) on Dec. 11, 2004]
[edit reason] Terms - no personal or promotional URLs; no solicitations [/edit]

ergophobe

9:13 am on Dec 11, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Welcome to WebmasterWorld iuploads!

The error is common enough. All headers must be sent before any other output is sent. If you send so much as a blank line or a space and then try to send more header information, your script will die.

Sometimes this happens because people don't realize this. More commonly, though, it occurs when you accidentally have a blank line before or after you php tags (i.e. outside the <?> ).

In your case, the output was sent in the file config.php on line 23, so that's what's causing your problem.

Tom