Posted by l3vi501 on 07/04/06 16:57
You will want to take the script from that site and dump it into a php
file. Put the top part into the file, then after that put the bottom
part into the file as well.
>From their, you will need to do some small editing.
In the top part of the code(the functions) you will want to edit the
line under "CHECK USER INPUT FOR COMMEN STUFF THAT SPAMMERS USE" and
change the @yourdomain.com to your domain.
Now you need to start editing the 2nd bit of code.
Since your subject is static you will want to remove any lines with
$_POST[subject] in it. You will also want to change the $_POST[email]
to $_POST[mail_adresse].
At this point you should be able to edit the mail() to be formatted to
what you need and just add in all the $_POST vars that you want to use
in the email and it should work.
[Back to original message]
|