title: How to read $_GET variables with (mod rewrite powered) nice URLs
body: <p>Hello fellow programmers,</p>
  
  <p>I'm using nice URLs the first time and I can't quite find out why I can't read my oAuth responses from my script.</p>
  
  <p>So this is my setup:</p>
  
  <p>.htaccess</p>
  
  <pre><code>RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php?url=$1 [PT,L]
  </code></pre>
  
  <p>I have a script that uses googles oAuth system to log in a user. This script sends the user to the google api page where they can allow my website to read their email adress and then send the user right back to my site with lots of $_GET variables.</p>
  
  <p>I tell google to send it to</p>
  
  <pre><code>http://mywebsite/login/google/response
  </code></pre>
  
  <p>and it does that..</p>
  
  <p>The problem is that google sends the result in the normal GET format like this: </p>
  
  <pre><code>http://mywebsite/login/google/response/?openid.ns=http%3A%2F%2Fspecs.openid.ne[..]
  </code></pre>
  
  <p>and my script can't read it..</p>
  
  <p>Is there any way to read $_GET variables when they mix with nice URLs?</p>