I'm posting a XML document to PHP via Apache. All the examples assume the POST is occuring from a PHP file upload form, where you specify an <input name="userfile">' element. I'm using a raw HTTP POST from an external system. Is there anyway for me to get the name of the temporary file that Apache/PHP stored the XML document into?
The $HTTP_POST_FILES['userfile']['name'] syntax obviously does not work, since I have no way of specifying 'username'.