• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
need to use $_GET on one page

#5
[eluser]Al James[/eluser]
Hi there...

This thread has a full discussion: http://ellislab.com/forums/viewthread/56389/

Briefly:

If you only need it in a few pages.

1) Set your config item 'uri_protocol' to 'PATH_INFO'.

Code:
$config['uri_protocol'] = "PATH_INFO";

2) Use this line to rebuild the $_GET array (in your controller)

Code:
parse_str($_SERVER['QUERY_STRING'],$_GET);

If you need it site wide

Look at: http://ellislab.com/forums/viewthread/56389/#277621


Messages In This Thread
need to use $_GET on one page - by El Forum - 07-21-2007, 05:31 AM
need to use $_GET on one page - by El Forum - 07-21-2007, 06:47 AM
need to use $_GET on one page - by El Forum - 07-21-2007, 06:51 AM
need to use $_GET on one page - by El Forum - 07-21-2007, 07:10 AM
need to use $_GET on one page - by El Forum - 07-21-2007, 01:04 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.