Monday, July 18, 2005

using nmsformmailer script part II

download phpmailer from this address


wget http://unc.dl.sourceforge.net/sourceforge/phpmailer/phpmailer-1.73.tar.gz


tar -zxvf phpmailer-1.73.tar.gz


copy and paste code from the previous Part I


and name it nmsformmail.php


Now you have to write the front-end (html page)

First create an file bad_referer.php with only these lines
<?php
echo "Bad referer";
?>

cp -r phpmailer/language .
cp phpmailer/class.* .




No comments: