Date: 09/30/98
- Next message: Brown, Patrick: "RE: [PHP3] Stupid NT Question"
- Previous message: Mark Musone: "[PHP3] Sending mail attachments"
- Maybe in reply to: Geoffrey Makstutis: "[PHP3] Setcookie problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
check to make sure that all of your PHP files have no spaces before <?
nor after ?>
what often happens is that a file has a new line after ?>, which PHP
sends to the browser,
and before it can send it, it has to send the header.
-brian-
-----Original Message-----
From: Geoffrey Makstutis [mailto:gmak <email protected>]
Sent: Wednesday, September 30, 1998 12:44 PM
To: php3 <email protected>
Subject: [PHP3] Setcookie problem
I have a function which checks for a cookie and then either redirects or
sets the cookie. I keep getting the following:
Warning: Oops, php3_SetCookie called after header has been sent...
What I can't understand is that the php file which does the work,
doesn't
write to the browser until after it has done it's cookie work. Actually,
it
is a series of functions that are called from other pages. So, what is
the
header that is being sent?
Thanks,
Geoffrey Makstutis
gmak <email protected>
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3
- Next message: Brown, Patrick: "RE: [PHP3] Stupid NT Question"
- Previous message: Mark Musone: "[PHP3] Sending mail attachments"
- Maybe in reply to: Geoffrey Makstutis: "[PHP3] Setcookie problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

