Hi Erik,
then i guess if($_SERVER[‘HTTP_X_REQUESTED_WITH’] == ‘XMLHttpRequest’)
should get me going ...
thanks a lot,
Alex
-- Original Message --
To: Jquery-en (jquery-en@googlegroups.com)
From: Erik Beeson ([EMAIL PROTECTED])
Subject: [jQuery] Re: how to get php to detect
The request header X-Requested-With is set to XMLHttpRequest for all
AJAX calls from jQuery.
Hope it helps.
--Erik
On 1/29/08, Alexandre Plennevaux [EMAIL PROTECTED] wrote:
Hello,
so that my php script can serve both ajax calls and full page call if
javascript is not available on the
Use POST?
On Jan 29, 10:42 am, Alexandre Plennevaux [EMAIL PROTECTED]
wrote:
Hello,
so that my php script can serve both ajax calls and full page call if
javascript is not available on the client platform, i usually append a js=1
to all links. So it's a child play to test for
3 matches
Mail list logo