if there is a value in $HTTP_POST_VARS["variable_name"] then it came via a
form with method="POST", if there's a value in
$HTTP_GET_VARS["variable_name"] then it came from querystring or a form with
method="GET"

beau

// -----Original Message-----
// From: J-E-N [mailto:[EMAIL PROTECTED]]
// Sent: Thursday, 23 August 2001 1:24 PM
// To: [EMAIL PROTECTED]
// Subject: [PHP-DB] variables
// 
// 
// Hello there.
// 
// Is there a way to know whether a variable was passed by a 
// form or just typed from the address bar?
// 

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