> How can I display the script file name? Presumably something like-:
>
> <?php
> echo $ScriptFileName;
> ?>
>
> While I'm learning php and developing various Web page versions, I want to
> be sure the that the display is from the appropriate script.
>
> Regards
> Stephen Ford, Surrey, UK

Try any of these to see if it is what you want - some are absolute some are
relative ...
<?
echo $_SERVER['SCRIPT_NAME'].' '.
     $_SERVER['SCRIPT_FILENAME'].' '.
     $_SERVER['PHP_SELF'];
?>

Rich


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to