Re: How do I display the script file name?
| From: | Stephen Ford | Date: | Thu, 27 Feb 2003 18:01:11 +0000 |
| Subject: | Re: How do I display the script file name? | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-137445@lists.php.net to get a copy of this message | ||
By including "\n" the html source looks like this, which is fine. I'll RTFM
about $_SERVER and post back if in trouble.
Thanks for help.
Stephen
<P>$_SERVER['PHP_SELF']= </P>
<P>$_SERVER['SCRIPT_NAME'] (etc)= </P>
<P>__FILE__=/path/sfindex03.php</P>
<P>$SCRIPT_FILENAME=/path/sfindex03.php</P>
<P>Basename=sfindex03.php</P>