site won't send user to link

Status
Not open for further replies.

lunepm95

New Member
Messages
1
Reaction score
0
Points
0
Hi,

On our site, a user is asked to fill out a form. When the form is completed and the user submits, they are sent to another site we have. The other site isn't hosted with x10 hosting. When the form is tested, an error message :

09-Jun-2011 14:56:25] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/lunepm11/public_html/index.php:4) in /home/lunepm11/public_html/index.php on line 34

Any input you can provide will be appreciated.

Thanks,

Lunepm11
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Your script index.php outputs something on line 4. Later, the script , on line 34, tries to send some Header information , probably the redirect. You cannot send headers after you have output something.

Check the first 4 lines of the script.
 
Status
Not open for further replies.
Top