Re: Base-Templates Dir Feature Added to Smarty1.4.0

From: Date: Thu, 10 May 2001 13:31:07 +0000
Subject: Re: Base-Templates Dir Feature Added to Smarty1.4.0
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-729@lists.php.net to get a copy of this message
They are not exactly the same. PHP_SELF also includes the path info. So for example: http://www.domain.com/display.php/some/path/info?var1=1&var2=2 SCRIPT_NAME = /display.php PATH_INFO = /some/path/info PHP_SELF = /display.php/some/path/info Ivo Jansch wrote: > > Hi, > > Jim Harlindong wrote: > > > And these will be accessed through {$HTTP_SERVER_VARS.SCRIPT_NAME} and > > {$HTTP_SERVER_VARS.PHP_SELF} ? > > No, {$PHP_SELF} and {$SCRIPT_NAME} > > > Another question, what is the difference between SCRIPT_NAME and > > PHP_SELF ? > > They're the same. However, SCRIPT_NAME is an apache variable, therefor > only available when using Apache. > > Greetings, > Ivo > > -- > Ivo Jansch <ivo@ibuildings.nl> > ibuildings.nl BV - information technology > http://www.ibuildings.nl > > --- > You are currently subscribed to smarty as: monte@ispi.net > To unsubscribe send a blank email to $subst('Email.Unsub') > Visit Smarty's homepage at > http://www.phpinsider.com/php/code/Smarty/ -- Monte Ohrt <monte@ispi.net> http://www.ispi.net/

« previous php.smarty.general (#729) next »