|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1998-09-25 15:09 UTC] zeev
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 15 19:00:01 2025 UTC |
this script: <SCRIPT language="php"> SetCookie("TestCookie","foobar"); </Script> Produces the error: Oops, php3_SetCookie called after header has been sent whereas this script: <SCRIPT language="php"> SetCookie("TestCookie","foobar"); </Script> works. Apparently the leading whitespace causes a header to be sent, making the cookie not work. Can you change this behavior? I am in the habit of right justifying the <script> tag, but if I want to use cookies, I must left justify it. Thanks --Eric Guenterberg