{include_php} and $PHP_SELF
| From: | Carsten Saathoff | Date: | Sun, 10 Mar 2002 21:19:58 +0000 |
| Subject: | {include_php} and $PHP_SELF | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-3007@lists.php.net to get a copy of this message | ||
Hi,
I just used the built-in function {inlucde_php} and realized, that
$PHP_SELF isn't defined in the included php script, although
$_SERVER['PHP_SELF'] is available and points to the right place.
I haven't found a hint in the manual, why $PHP_SELF isn't defined, and
so I'm wondering, what the reason is. Especially if the use of
$_SERVER['PHP_SELF'] as an alternative is ok or if there could arise
any problems?
tia
Carsten
--
Carsten Saathoff ...powered by Linux ICQ #52558095
The gods are great, I am the greatest!
(Borknagar)