The fastest easiest way to get it right.

gpSet

NAME

gpSet

FUNCTION

The PHP function gpSet 'fakes' a GET/POST variable, making it appear as if it had beent sent from the browser. The first parameter names the variable, the second parameter is the value. If the named parameter actually came from the browser, the browser's value will be overwritten.

INPUTS

string $key - Name of variable mixed $value - Value to assign

SOURCE

function gpSet($key,$value='') {
    $GLOBALS["AG"]["clean"][$key] = $value;
}

User Comments

There are no user comments yet on this page.


Add A Comment

Comments will not appear until after they are moderated. Comments are usually moderated within a few hours on weekdays, but may take longer on weekends and holidays.

Name or nickname: (This will appear with your comment)


Email (this will never be displayed)


Enter your comment here. Use [b] and [/b] for bold, [i] and [/i] for italic, and [pre] and [/pre] for code samples. All literal HTML and PHP that you enter will be escaped out and displayed as you enter it.


Home |  Documentation |  Download |  Credits |  Contact |  Login
Andromeda © Copyright 2004-2010, Licensed under the GPL Version 2