I need a script that must process a POST string from a MMS Gateway.
The string contains 5 variabels, 4 is just text info to put in a MySql database, but the last variable is a ZIP file wich contains one JPG og GIF picture.
The picture prosessing:
- Rename picture to a random name
- Resize picture to a pre-defined size (e.g: Max width or height).
- Save picture to a pre-defined folder on the local server
- Save picture info (name, type, etc..) and the rest of the variables to a MySql database table.
I allready have a skript that does everything above, except that it is created for a picture uplosd from a webpage form.
I need someone to either convert my old script to be able to extract the ZIP content and then do the rest, or create a new script from scratch.
Note! The server Does not run PHP but only Perl/apache on Debian Linux. The server does have the ARCHIVE::TAR module, but not the ARCHIVE::ZIP module, and I do not want to install new modules at this moment.
Take a look at the old script attached as TXT file
IMPORTANT: I need the script finished latest on Monday morning (29.08.05), If you can't achive this then please dint bother to place a bid.
Your script looks fairly well organized and easy to work with already. Good job. I can clean it up more and also provide you with functionality. See PMB message for a side note.