grab URL in php script for post
<p>Good day all, I would like to know what is the correct method in PHP to grab the full URL and parameters. </p>

<p>I need this to check if the user is posting the url incorrectly.</p>

<p>Thank you to Raisen for his answer. Using</p>

<pre><code>$_SERVER['REQUEST_URI']
</code></pre>

<p>I was able to see the users system was hitting my link and spelling a parameter incorrectly.</p>
