Re: How do I display the script file name?

From: Date: Thu, 27 Feb 2003 15:57:44 +0000
Subject: Re: How do I display the script file name?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-137406@lists.php.net to get a copy of this message
The 'magic constant' __FILE__ is one way. <?PHP echo __FILE__; ?> or even better: <?=__FILE__;?> HTH, Jason k Larson Stephen Ford wrote:
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


« previous php.general (#137406) next »