title: php-Fetch redirect URL from Google
body: <p>This is a search URL generated by google:</p>
  
  <p><code>https://www.google.com/url?rct=j&amp;sa=t&amp;url=http://EXAMPLE.com/example-Article/&amp;ct=ga&amp;cd=CAIyHjliOWMxZGQ0MzEzZDc1MWY6Y28uaW46ZW46R0I6Ug&amp;usg=AFQjCNGoEabdV1jKNPGH8vNeiuoec_E2Iw</code></p>
  
  <p>Now it contains a redirect URL.</p>
  
  <p><code>http://EXAMPLE.com/example-Article/</code></p>
  
  <p>How do I extract this URL from the above using PHP?</p>