eMonk Posted October 23, 2008 Share Posted October 23, 2008 i want to create a php form that will send my to email address once submitted. the form will include: - text fields - text area boxes - check boxes - radio buttons - list/menu drop downs - up to 10 image attachments with browse buttons & max filesize of 500kb or so any tutorials on how to do this? my book "php and mysql web development - 4th edition" doesn't cover php form processing to emails. thanks in advance! Link to comment https://forums.phpfreaks.com/topic/129830-php-form-to-email/ Share on other sites More sharing options...
simonpatp Posted October 23, 2008 Share Posted October 23, 2008 You could do a foreach, print_r($_REQUEST) and a small script to handle the $_FILES, or just download a free Form to Email script make sure your HTML page has this <form enctype="multipart/form-data" ...> <input type="hidden" name="MAX_FILE_SIZE" value="500000" /><!--500kb in bytes not always works I'm not an expert at $_FILES, but you can look at http://us.php.net/manual/en/features.file-upload.php for more info Link to comment https://forums.phpfreaks.com/topic/129830-php-form-to-email/#findComment-673123 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.