SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
-
Dec 31, 2005, 21:53 #1
- Join Date
- Jan 2004
- Location
- Luton, Beds
- Posts
- 1,791
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
$_GET with mod rewrite, possible?
Hello guys....
I mod rewrited some urls and now the $_GET, is not working for example the following url : site_point.php?sid=500, problem is I cant get that sid in $_GET["sid"];,
I use an alternative way, exploded the REQUEST_URI, which did the trick, but I am wondoring, will there any possible way to do it easily, ?
thanks
-
Dec 31, 2005, 23:58 #2
Add QSA at the end of the Rewrite Rule:
RewriteRule (original) (redirect) [QSA]
QSA = Append query string
-
Jan 1, 2006, 05:53 #3
- Join Date
- Jan 2004
- Location
- Luton, Beds
- Posts
- 1,791
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
OMG!! it was that easy
, thanks a bunch logic_earth!! I
you
Bookmarks