PDA

View Full Version : PHP email attachment script modifcation


sir pannels
07-12-2006, 12:53 PM
hi all,

Need some paid work doing, it is an alteration to a php script I currently have running.

The script is a mail processing script.. how the script works currently ...

php://stdin gets the email sent from the command line
$lines = explode("\n", $email); then sorts the lines, each
preg_match then search for the subject, body etc etc and puts them into invidual variables.
php mysql insert statement then puts all of the variables into a row of a mysql database WHERE $to = username(in database)

That all works, no problems. However the attachments currently just get ignored, and are lost forever.

I need a PHP coder to alter my script so that the attachment is taken off the email and also put into the database, that is all. I have tried to think about doing this myself however my skill stops about there.

Please quote me your price and time frame and please do not ask me to email you for a quote.

I can be contacted on james ;;; A-t }}} tabfly.com

Any questions, fire away.
Kind Regards,

Sir P

PNK|design
07-12-2006, 02:21 PM
Sent email :thumbsup:

sir pannels
07-26-2006, 12:37 PM
Job field by PNK.

sir pannels
07-26-2006, 12:38 PM
filled * :$