encrypting jquery .load() function
<p>I'm calling a php page using .load()</p>

<p><code>.load('page.php?user='+user+'&amp;page='+page)</code></p>

<p>if you go to the actual page.php and type <code>page.php?user=1&amp;page=2</code>
you get the same result, how could I stop this from happening?
encrypting data maybe?</p>

<p>Could someone point me in the right direction, cheers.</p>

<p>@lonesomeday,</p>

<p>this answer works for me, yours was correct though:</p>

<p><code>if(isset($_SERVER['HTTP_X_REQUESTED_WITH']) &amp;&amp; strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest') { it's an ajax request validate id and continue! } else { this is not an ajax request, get out of here! }</code> </p>

<p>submitted by "ifaour"</p>
