SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    Smart programmer silver trophy M.Zeb Khan's Avatar
    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

  2. #2
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Add QSA at the end of the Rewrite Rule:

    RewriteRule (original) (redirect) [QSA]

    QSA = Append query string

  3. #3
    Smart programmer silver trophy M.Zeb Khan's Avatar
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •