Re: Page detect

From: Date: Tue, 21 Aug 2001 15:08:47 +0000
Subject: Re: Page detect
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-63717@lists.php.net to get a copy of this message
if you want the name of the page you are on (i.e. index.php) you can use the $PHP_SELF variable.. if you want to know what page you came from you can use the $HTTP_REFERER variable.. just remember to get those variables you have to have php parse the page (so it can't just be a plain html page) jay "Kevin P" <kevin.pottie@odellwebdesign.com> wrote in message news:20010821150417.49839.qmail@pb1.pair.com... > Hi all > > I am just five days new to PHP. When sending an HTML form to a PHP page > for handling, can you cause the PHP to detect the page name (like form.htm > or form2.htm)? > > thanks > > Kevin > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#63717) next »