I have a PHP networking question. I'm trying to create a form that allows clients to upload a PDF attachment. Once the file is uploaded I want PHP (or MySQL) to check if the file is a PDF and if it IS to generate a cover sheet AND print both the generated cover sheet and the uploaded PDF to a network printer. Finally I need the script to send an email to me telling me a file is waiting for me on the printer.
Does anyone have ANY ideas how I might go about scripting such a thing? (I have no experience with networking with PHP)