Does anyone know how you get a script to save an attachment directly as a local file on the php server, without using a web browser to do the actual attachment downloading.
The reason I ask is that I want to write a script which will allow my php server to read its own emails, and save relevant data to databases etc. A necessary part of this system would be the ability to be able to pass files to the server via email attachments.
I have used Cold Fusion in the past to do this sort of thing, as saving attachments locally on the server is simply part of one of the tags. But as I am now developing PHP scripts I would like to do the same in this language.