You have chosen to sponsor your bid up to a maximum amount of .
Your job is to create a php script which receives piped emails and extracts attachments if the attachment file type matches pre-determined type. If no attachment or not the expected file-type, no action is taken. The script must create a new file name for the extracted attachment; the file name equals the email sender's name MINUS the @ symbol and everything after the @( the domain name). If file name exists then the old file is overwritten by the most recent attachment. The extension of the new file must be the same type as original. The renamed attachment must be saved in a specified directory.
1) Provide fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Script(s) must be in ready-to-run condition:
a) For web sites or server-side, script(s) intended to only ever exist in one place in the Buyer's environment.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).