The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Cookies Already Sent
I'm trying to incorporate a very simple external user verification to my pages outside of /forum/.
I'll show you my code in a second but - this is the error that I"m getting: Code:
Unable to add cookies, header already sent. File: /home/content/n/o/u/***/html/index1.php Line: 9 Here's my simple script: PHP Code:
PHP Code:
Thanks jw |
#2
|
|||
|
|||
What is between those two PHP blocks?
Any HTML code that get's sent? Because you can only use those header stuff (in this case setting a cookie, but a redirect would be another example) BEFORE ANYTHING else is sent to the browser. So if only one byte/char got sent to the browser, no header functions are working anymore. |
#3
|
|||
|
|||
Some text has already been ouput. Try removing the: echo "Not Logged In";
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|