Hello,
What's the function to check which page a user is on?
Thanks,
Jason
Do you mean the name of the php script the user is in ?
You can use $SERVER["SCRIPT_FILENAME"] for an absolute path to the file, or use $SERVER["SCRIPT_NAME"] for a relative one. If you just want the file name itself, try using basename(). http://us2.php.net/basename