Hi there everybody
I'm having a little trouble with the HTTP variables. I have just installed Apache 1.3.24 and the latest version of PHP. I installed it as a sapi module and everything went fine. However when trying to make references to the reserved HTTP variables like:
HTTP_REFERER
DOCUMENT_ROOT
I get errors, this is what is outputted
Notice: Undefined variable: HTTP_REFERER in d:\home\httpd\html\pcm_staff\index.php on line 3
Notice: Undefined variable: DOCUMENT_ROOT in d:\home\httpd\html\pcm_staff\index.php on line 10
Its a little odd because when I check phpinfo(); the HTTP_REFERER and DOCUMENT_ROOT appear with the correct values.
Has anybody got any ideas. Thanks


