NYCPHP Meetup

NYPHP.org

[nycphp-talk] detecting Ajax calls

David Mintz vtbludgeon at gmail.com
Mon Feb 26 11:35:02 EST 2007


I am wondering what you guys are doing to detect whether your PHP script is
being called via AJAX or --- "regular."

I know Prototype sends a custom headers e.g.
[X-Prototype-Version] => 1.5.0 [X-Requested-With] => XMLHttpRequest

-- 
David Mintz
http://davidmintz.org/

En Nueva York el tránsito de la belleza a la desolación sucede siempre
expeditivamente, como si el principio universal de máxima eficiencia hubiera
aconsejado la supresión de gradaciones intermedias.

  -- Antonio Muñoz Molina, Ventanas de Manhattan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20070226/90f16131/attachment.html>


More information about the talk mailing list