Click to See Complete Forum and Search --> : PHP question


immortal20
October 6th, 2004, 10:26 PM
Whats the code in php to check to see what page I am on or a user is on. eXample: i want something to appear on one page but not another so i need to know what page the user is on so I can or cannot show it.
I know it has to do with $_Server but don't remember.

PallaviDalvi
October 6th, 2004, 11:41 PM
$_server['php_self']....

khp
October 6th, 2004, 11:42 PM
http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server