Jump to content

Archived

This topic is now archived and is closed to further replies.

sparkicks

header error

Recommended Posts

im trying to redirect people when the login is varified but it keeps coming up with this
Warning: Cannot modify header information - headers already sent by (output started at c:\web\htdocs\validate.php:5) in c:\web\htdocs\validate.php on line 22
bare with me as i have only started php a day or 2 ago

line 22 header('location: ogin_sucessfull.php');
i have tried with " or ' with my full addy and with just the page any sugestions would be apreciated

Share this post


Link to post
Share on other sites
Did you read the sticky thread at the top of this forum?

Share this post


Link to post
Share on other sites
no and after reading it im not in any position better then i was... i didnt write to the header b4 that....

Share this post


Link to post
Share on other sites
Any output. eg, call to echo, html, whitespace will send headers. Check you have no white spce before your opening <?php tags.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.