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:[EMAIL PROTECTED]]
Sent: 12 March 2001 15:27
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



**********************************************************************
'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'

**********************************************************************

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