Is is possible to receive an email notification when someone uploads a file to an upload directory (using the PHP form)? I realize that emailing the file itself is possible, but need it to go directly to the upload directory.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No email is being received. Which PHP file is it contained in? I thought that I checked all the PHPformgen files for an email just in case it was mispelled. Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The process.php file does all the work behind the form.
If you chose emai lnotification when you created the form the mail() function should be included. If not you have 2 choices. 1.) Add it in yourself. 2.) Generate a new form.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is is possible to receive an email notification when someone uploads a file to an upload directory (using the PHP form)? I realize that emailing the file itself is possible, but need it to go directly to the upload directory.
You receive an email for every form entry. If the entry includes a file upload then the file is uploaded to the files folder.
No email is being received. Which PHP file is it contained in? I thought that I checked all the PHPformgen files for an email just in case it was mispelled. Thanks
The process.php file does all the work behind the form.
If you chose emai lnotification when you created the form the mail() function should be included. If not you have 2 choices. 1.) Add it in yourself. 2.) Generate a new form.
I will check it now…how can I add it if it is not there? thanks
Simple example:
$message="firstname: ".$_POST."
lastname: ".$_POST."
email: ".$_POST."
";
$message = stripslashes($message);
$email_to="\"contact@url.com;".$_POST."\"";
mail($email_to,"Form Submitted at your website",$message,"From: phpFormGenerator");
thanks..it works