Re: Need socket help!!!
| From: | Richard Lynch | Date: | Sat, 24 Feb 2001 01:20:25 +0000 |
| Subject: | Re: Need socket help!!! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41414@lists.php.net to get a copy of this message | ||
> Now I cannot go any further.
> I need to go to a page, password.php!!
> All efforts give an error message.
What error message?
Would it perchance, be the one about "headers already sent"?
You need to *NOT* have *ANY* output to the browser before you attempt to do:
header("Location: password.php");
Output includes "echo" or "print" statements, error messages, <HTML>, or
*EVEN* (and this is the killer) blank lines outside <?php ?> tags.
Specifically, if you include a file, and that file has a newline after the
?> at the end, you can't do a header after that. Get rid of the trailing
newline.
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm