|
Posted by Steven Saunderson on 10/20/06 04:49
On Thu, 19 Oct 2006 21:56:01 -0400, "Chris F.A. Johnson"
<cfajohnson@gmail.com> wrote:
[snip]
> Does the script that is targeted (0scripts/invite.php) support the
> POST method?
To expand on what Chris says, GET variables are in the _GET array
whereas POST variables are in the _POST array. If you want to get them
from either array try something like :
function GetFormValue ($key, $default = '')
{
if (array_key_exists ($key, $_POST))
return $_POST [$key];
if (array_key_exists ($key, $_GET))
return $_GET [$key];
return $default;
}
--
Steven
[Back to original message]
|