form action=?php $PHP_SELF; ?
form action=?=$PHP_SELF?
or
form action=?php echo $PHP_SELF; ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
From: John Brooks [EMAIL PROTECTED]
Sent: Sunday, August 11, 2002 10:21 AM
Subject: [PHP] Problem with $PHP_SELF on PWS
I have PHP installed on PWS running on a Windows 98SE m/c.
When I invoke form action=action.php method=POST everything is fine
and the form data is extracted correctly.
On Monday, June 24, 2002, at 10:42 AM, DoL wrote:
Can anyone advice what did I missed here?
Would this have anything to do with php or/and apache configuration?
Is it possible that your php.ini file is configured for
register_globals = off ?
If so, you should use:
$_SERVER['PHP_SELF']
On Monday 24 June 2002 22:42, DoL wrote:
Hi All
I would like to submit a form to call itself, and according to some
references I could use the $PHP_SELF variable in action attribute of the
form element in a HTML document
But it is not working for me, please help.
I have this line of code
On Mon, 03 Sep 2001 15:11:04 -0700, you wrote:
Following up my own post (in case someone finds this in the archives):
Is there any situation where such variables would be available to
phpinfo(), but not the rest of the script?
You can't see $PHP_SELF within a function until you declare it
Original message
From: David Otton [EMAIL PROTECTED]
Date: Mon, Sep 03, 2001 at 03:21:00PM -0700
Message-ID: [EMAIL PROTECTED]
Subject: Re: [PHP] Problem with PHP_SELF
On Mon, 03 Sep 2001 15:11:04 -0700, you wrote:
Following up my own post (in case someone finds this in the archives
: Monday, September 03, 2001 3:21 PM
To: David Otton
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Problem with PHP_SELF
On Mon, 03 Sep 2001 15:11:04 -0700, you wrote:
Following up my own post (in case someone finds this in the archives):
Is there any situation where such variables would
On Mon, 3 Sep 2001 09:16:00 -0700, you wrote:
I couldn't help but frown at this message... This is typical of this and
hundreds of other lists... instead of learning the language, people just
jump in, try to write code, and then when something doesn't work, it's the
language's fault... It
Hi Richard.
Two methods, POST and GET: Post for forms and best works with hidden
elements.
Get can be put across URL's:
echo a href=\$PHP_SELF?page=$next_page$metode=$search\Next/a;
Or
FORM ACTION=? echo $PHP_SELF; ? METHOD=POST
INPUT TYPE=hidden NAME=? echo $metode; ? VALUE=? echo $search;
Gah! Forgot an element for that form: Page element.
INPUT TYPE=hidden NAME=page VALUE=? echo $next_page; ?
:)
Hi Richard.
Two methods, POST and GET: Post for forms and best works with hidden
elements.
Get can be put across URL's:
echo a
10 matches
Mail list logo