NYCPHP Meetup

NYPHP.org

[nycphp-talk] <?= $PHP_SELF ?>

Webapprentice . webapprentice at mail.com
Fri Jan 2 13:02:35 EST 2004


I notice that <?= $PHP_SELF ?> is used in several articles and manuals for referring to the current page, but when I use this, I get an empty string

This, however, works:
<?= $_SERVER['PHP_SELF']; ?>

What does the former not work?

Thanks,
Stephen
-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm




More information about the talk mailing list