Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    May 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Image upload error

    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
    Last edited by evo; 05-12-2009 at 12:06 PM.

  • #2
    New to the CF scene
    Join Date
    May 2009
    Posts
    4
    Thanks
    0
    Thanked 1 Time in 1 Post
    Usually this error message comes up when you have some whitespace
    or something is echoed before setting the header.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •