![]() |
un-required? phMailer
Thanks for the awesome script.
Im looking to change the name, email and message parts so that they are NOT required fields. Some help changing this option please?! |
Open up phMailer.php in an editor, such as notepad.
(note -this is based on my copy that I just downloaded) To disable the requirement for name: look for Code:
If(trim($yourname)=="") { Code:
/* For email: Code:
If(trim($youremail)=="") { Code:
/* For message: Code:
If(trim($yourmessage)=="") { Code:
/* you don't have to do the replacement part if you are comfortable just commenting it out. If you look at the replacement code all we are doing is adding a /* at the of the code, and a */ at the end, or instead of replacing you could just delete the code - I prefer commenting it out though so that it can easily be undone IcI |
All times are GMT -5. The time now is 02:18 AM. |
Powered by vBulletin®