I have a host that I have very little control that is sending an http post that contains images, and file information. I am able to view this information with the help of the getallheaders() function that contains the follwing array values: ("Basic cm9vdDpzYXZ5Y2F0X2Jvb3N0ZXI=", "attachment; filename=image02048.jpg", "12389", "image/jpeg", "shttpclient $Revision: 1.28 $", "a", "s").
I assume that the first value is the actual image, and the rest of the values are file parameters. My goal is to save the file to a specified directory. I have a good deal of experience uploading files via html form enctype='multipart/form-data' and writing these files to anywhere in the file system, but I have no experience with the getallheaders() function or what to do with the array except parse out the values.
TIA - cmc