Re: [PHP] Page detect

2001-08-21 Thread rm
try using $PHP_SELF, this might be what you're looking for rm --- Kevin P <[EMAIL PROTECTED]> wrote: > 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)? > > t

Re: [PHP] Page detect

2001-08-21 Thread Jay Paulson
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) j