Categories > TinyButStrong general (FR) >

$_SERVER['PHP_SELF']

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: nico
Date: 2006-07-13
Time: 10:05

$_SERVER['PHP_SELF']

slt skroll,

je voudrai utiliser la variable $_SERVER['PHP_SELF'] dans mon template
est ce que j'y ai accès par tbs ou bien est ce que je suis obligé de créer une variable $bidon = $_SERVER['PHP_SELF'] dans le php puis de la fusionner dans mon template?

---------------

hi skroll,

is there anyway with tbs to get the variable php $_SERVER['PHP_SELF']??

or am I obliged to create a temporary variable which contains the value of $_SERVER['PHP_SELF'] and merge it in the php side?

thanks
By: Skrol29
Date: 2006-07-13
Time: 10:23

Re: $_SERVER['PHP_SELF']

Hi,

I think [var._SERVER.PHP_SELF] should work, but you can also use [var..script_name] which returns only the file name of $_SERVER['PHP_SELF'].
By: nico
Date: 2006-07-13
Time: 10:30

Re: $_SERVER['PHP_SELF']

ok thanks
as everybody says, good work with tbs
keep going on