[PHP] Warning: Undefined variable when used locally, but fine on remote server

2001-09-24 Thread Justin Colson
I have recently installed Apache 1.3.2 and PHP 4.0.6 using the instructions at http://hotwired.lycos.com/webmonkey/00/44/index4a.html?tw=programming on a Win98 machine which I will later use as an intranet server (NT workstation refuses to detect NT server, and the machine is too slow for Win2k).

[PHP] Getting the current URL (with arguments) as a variable, then removing another variable from that ?

2001-07-17 Thread Justin Colson
Is there a way that I can get the current URL, like myfile.php?sub=web?page=web1 And then remove the ?sub=web from it, even if the value of ?sub is different ? Someone said something about $PHP_SELF but I dont know where to go from there. -- PHP General Mailing List (http://www.php.net/) To