Re: Php - jmeno provadeneho skriptu

From: Martin Svarovsky <martin.svarovsky (zavinac)>
Date: 21. 05. 2004, 09:10 CEST
P&v napsal(a):

>Dd,
>delam php skript na odstraneni chyby 404.
>V pripade nenalezeni stranky se tento provede jakoby jeho jmeno
>bylo totozne s neexistujici strankou. A toto jmeno chci ukladat.
>V javaScriptu je to document.location.
>dik za snahu
>d
>
>  
>
Promenna $_SERVER['PHP_SELF']
** The filename of the currently executing script, relative to the 
document root. For instance, $_SERVER['PHP_SELF'] in a script at the 
address http://example.com/test.php/foo.bar would be /test.php/foo.bar.
If PHP is running as a command-line processor, this variable is not 
available. **

Martin
Received on Fri, 21 May 2004 09:10:16 +0200

This archive was generated by hypermail 2.1.8 : 21. 05. 2004, 13:37 CEST