Re: Forms

From: Date: Thu, 13 Jul 2000 06:36:09 +0000
Subject: Re: Forms
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-6388@lists.php.net to get a copy of this message
At 2:44 PM +1200 7/13/00, Tom Peck wrote:
Hi I have a form procesesd with a submit button, now is there a PHP variable which equals the entire form line? For example, after the submit button has been pressed, the URL is something like this: webpage.php3?submit=yes&variable1=this&variable2=that I want to then be able to put "submit=yes&variable1=this&variable2=that" into a string variable. Is there a PHP variable which equals this? Thanks
I believe that would be $QUERY_STRING - on of the environment vars set by the web server. To see all the vars your server sets, create a phpinfo.php program that consists of <?php phpinfo(); ?> and call it like http://your.domain/and/path/phpinfo.php?x=1&y=q#tag and see what variables are reported. -steve +--- unix and cats: -----------------------------------------------------+
| Steve Edberg                           University of California, Davis |
| sbedberg@ucdavis.edu                               Computer Consultant |
| http://aesric.ucdavis.edu/                   http://pgfsun.ucdavis.edu |
+----------------------- hard to befriend, but then friends for life! ---+

« previous php.general (#6388) next »