Welcome Guest, Not a member yet? Register   Sign In
allowing $_GET for one page
#5

[eluser]Kepler[/eluser]
You could use the $_REQUEST array. All POST values and all GET values are combined in this array. CodeIgniter (as far as I know) does not destroy the $_REQUEST array.

For example if you are passing name on your URL as:

Code:
http://www.yourdomain.com?name=fred

Your code can get the value by using:

Code:
if (isset($_REQUEST['name']))
{
    // your logic here...

}


Messages In This Thread
allowing $_GET for one page - by El Forum - 07-15-2009, 02:01 PM
allowing $_GET for one page - by El Forum - 07-15-2009, 02:08 PM
allowing $_GET for one page - by El Forum - 07-15-2009, 02:45 PM
allowing $_GET for one page - by El Forum - 07-15-2009, 04:48 PM
allowing $_GET for one page - by El Forum - 07-15-2009, 07:39 PM



Theme © iAndrew 2016 - Forum software by © MyBB