Jump to content

Recommended Posts

Ajax won't actually post the data, but rather it acts like it posts the data by grabbing all the values from a given form using ajax calls.

 

ajax doesn't do that at all it sends headers that are POST data from the server use a series of functions designed in later browsers.  You can use ajax identical to as if it was sent via POST and php doesn't know the difference.

 

It doesn't grab you tell it what to send.

Ajax won't actually post the data, but rather it acts like it posts the data by grabbing all the values from a given form using ajax calls.

 

Well if it doesn't POST the data then why we are able to see $_POST in PHP.In PHP $_PHP get populated when a form is posted .If you upload file thru ajax your won't get it in $_FILE at server side.

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.