Are you sure it doesn't receive the HTTP_X_REQUESTED_WITH header? It should be sent by jQuery. Which Browser/OS and jQuery version are you using? Have you tried using Firebug to check if the X_REQUESTED_WITH header is being sent?
On Jul 23, 9:50 am, Lito <eor...@gmail.com> wrote: > Hi! I'm developing a framework that allow all navigation in normal > mode or in ajax load. > > I have a form to upload images and I can upload files correctly, but > if I use the ajax form, the save page don't receive the > HTTP_X_REQUESTED_WITH in $_SERVER PHP array (only occours when a file > is uploaded). > > How can I detect an ajax load with a file upload form?