if you are within a function, try doing this first:

global $PHP_SELF;

----- Original Message -----
From: "John Meyer" <[EMAIL PROTECTED]>
To: "Alexander Skwar" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, August 29, 2001 4:15 PM
Subject: Re: [PHP] Posting to oneself


At 12:07 AM 8/30/01 +0200, you wrote:
>So sprach »John Meyer« am 2001-08-29 um 15:57:02 -0700 :
> > Two questions:
> > 1.  Can I tell a form to post to itself without specifying the name of
the
> > web page?
>
><form action="<?php echo $PHP_SELF;?>">


I am getting this error:

Undefined variable: PHP_SELF


--
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]




-- 
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]

Reply via email to