RE: [PHP] Print form variables in PHP

From: Date: Mon, 12 Mar 2001 15:40:02 +0000
Subject: RE: [PHP] Print form variables in PHP
Groups: php.general 
Request: Send a blank email to php-general+get-43478@lists.php.net to get a copy of this message
If the ACTION attribute of the form points to your PHP script, the variables should automagically appear, i.e. $result would be "1", $age would be "23", and $name would be "john". Failing that you could investigate the explode() function. However, if the form isn't controlled by you, how come is it sending results to your script? Like the e-mail BTW :-) Cheers Jon -----Original Message----- From: Dream [mailto:not@via.ble] Sent: 12 March 2001 15:27 To: php-general@lists.php.net Subject: [PHP] Print form variables in PHP Any idea of how to get information from a form (not a form controlled by me, through GET method, i.e. info coming with the URL, like this http://www.xxx.com/xxx.cgi?result=1&age=23&name=john) and print it through php v.3? I don't know how to get the info (coming from an outside form) and pass it throught the php3 variables...... Thanks, marc -- 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 ********************************************************************** 'The information included in this Email is of a confidential nature and is intended only for the addressee. If you are not the intended addressee, any disclosure, copying or distribution by you is prohibited and may be unlawful. Disclosure to any party other than the addressee, whether inadvertent or otherwise is not intended to waive privilege or confidentiality' **********************************************************************

« previous php.general (#43478) next »