I programmatically host a form for processing PHP script forms. Is there a way to get the script form handler to assume that the message is being executed by ajax? The form handler is currently checking HTTP_X_REQUESTED_WITH at $ _SERVER to implement ajax custom logic. I need these codes that are executed when submitting to the form using cURL.
Stackoverflownewbie
source share