On Monday, June 24, 2002, at 01:30  PM, Ford, Mike [LSS] wrote:

> You can use:
>
>    echo "This script is called {$_SERVER['PHP_SELF']}";
>    echo "This script is called ${_SERVER['PHP_SELF']}";
>    echo "This script is called $_SERVER[PHP_SELF]";
>
> or even
>
>    echo "This script is called " . $_SERVER['PHP_SELF'];

Oh.  Well, thanks for clarifying -- I always use the concat (last) 
method myself, but this settles an incorrect assumption I'd been 
carrying around for months.  You're batting two for two today. ;)


Erik




----

Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]


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

Reply via email to