The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I need to write a script that will access VB variables, so I am starting out with some basic practice scripts to get the hang of it. However I am encountering a problem at the first stage. I have made a simple script as follows:
Code:
<?php require_once('./global.php'); if ($show['guest']) echo "you're not logged in"; else echo "you are logged in"; ?> "Unable to add cookies, header already sent. File: /var/www/vhosts/urban-gorilla.co.uk/httpdocs/community/test.php Line: 10" Can anyone suggest why this might be happening? Thanks Mark |
#2
|
||||
|
||||
![]()
curious - try this (not sure what all you are doing)
PHP Code:
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|