...

View Full Version : Image upload error



lawsonjason00
05-12-2009, 07:55 AM
Hi All,

I am trying to upload a image in my web page and everything works until it tries to redirect to the success page which gives me this error:

Warning: Cannot modify header information - headers already sent by (output started at /home/amlynn0/public_html/studios/upload.processor.php:7) in /home/amlynn0/public_html/studios/upload.processor.php on line 97

on line 97 is this:

header('Location: ' . $uploadSuccess);

and $uploadSuccess is this:

$uploadSuccess = 'http://' . $_SERVER['HTTP_HOST'] . $directory_self . 'upload.success.php';

I've tried to put header(); on my success page like some other forums suggested, but it didn't work.

Please let me know about this issue.

Thanks

luckyfella73
05-12-2009, 10:40 AM
Usually this error message comes up when you have some whitespace
or something is echoed before setting the header.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum