On Thursday, July 24, 2003, 10:47:08 PM, anachronism wrote:

amc> Quick question...

amc> I was wondering if there is a way to detect if any given variable came in to
amc> a page via post, or a get from a form.

if ($_POST['varname']) { came from POST }
if ($_GET['varname'])  { came from GET  }

etc.

Unless you already knew that and wanted something specific.

-- 
Regards,
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to