Re: Posting to oneself
| From: | Jason Bell | Date: | Wed, 29 Aug 2001 22:18:39 +0000 |
| Subject: | Re: Posting to oneself | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-65120@lists.php.net to get a copy of this message | ||
if you are within a function, try doing this first:
global $PHP_SELF;
----- Original Message -----
From: "John Meyer" <john_meyer@geocities.com>
To: "Alexander Skwar" <ASkwar@DigitalProjects.com>;
<php-general@lists.php.net>
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: 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