Đã hoàn thành

142859 Form/php mail with attachments

I need a script that can upload several images to my server and send them to my email address, all controlled through a html form.

- simple form with name, email address to reply to, a field for an url and a message field.

- 10 fields for the uploads with browse button to select the files from the hard disk

- submit button

On submission, the script should do some basic checks of the form data.

***Also, the script must be secure.***

Only image files (jpg, jpeg, gif) should be allowed.

If there are errors, the script should display them on the same page. (Like in red a message above the email field that the email is not valid.)

If the submitted form data and the images are okay, the script should upload the images into a folder on the server.

Then the script should email the form data together with the files as an attachment to my email address.

The email address is to be hardcoded into the script, so that it cannot be used to send emails to other email addresses.

The uploaded images should be checked for their size. If they are too big (above 2MB), they get declined (with an error message for the user after the upload).

After the sending of the email was sucessful, the images should get deleted again from the server.

Kĩ năng: Bất kì công việc gì, PHP

Xem nhiều hơn: php checked checked, email is not valid, email address not valid, email address is not valid, checks in the mail, send mail as, html mail, form php, email form php script, big red button, html mail form, form data, html form send mail, submit data php simple, select deleted, upload image server php, send form email address, html form data, error sending, basic send mail, attachments, php image files, script form address, secure image upload php, php simple mail form

Về Bên Thuê:
( 7 nhận xét )

ID dự án: #1889034

Được trao cho:


Please see pmb for demo link

$75 USD trong 1 ngày
(196 Đánh Giá)