[PHP] $PHP_SELF question

2002-04-18 Thread Brinkman, Theodore
I've got an include file that provides the basic framework for every page on my site, and at the bottom of each page, I want to spit out when the page was last updated. I used $PHP_SELF inside the include file, and got the include file's path. Is there a variable equivalent to $PHP_SELF that ret

Re: [PHP] $PHP_SELF question

2002-04-19 Thread Justin French
Spend a bit of time reading up on predefined variables (like $PHP_SELF) in the manual: http://www.php.net/manual/fi/reserved.variables.php I believe you're after SCRIPT_NAME, but it's worth familiarising yourself with them all for future reference. Justin French Creative D