PDA

View Full Version : mail.php page with no verification



munkynpunky
12-13-2006, 04:10 PM
hi,

i have mail.php file but it verifies the from email address, subject have to contain details, however i would like it to be able to specify which verification is enabled..

i was thinking something like



<?
// 1 = name, 2 = to address, 3 = subject

$authorise=1,2 //or 1,3 or 2,3 or 1,2,3 etc etc

then further on,

if $authorise = 1
then include .....

else, if $authorise = 2 etc etc

?>


any ideas?

has anyone already done this?