If you're talking about the PHP page itself, try $PHP_SELF. If you want to
know what page sent the form data to the PHP page, try $HTTP_REFER. Be
careful, though, as not every browser sends the referring page along with a
request, leaving $HTTP_REFER empty.
J
Kevin P 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)?
>
> thanks
>
> Kevin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]