make formmail easier! amelioration in referers array

hi there!

i love your php formmail since the first days. unfortunately, it always got more complex. i did a little hack, regarding referers and recipient domains. you won't have to edit the formmail anymore, you don't have to add the recipient domain to referers and you can forget the www. within the referers.

changes: decodes_vars moved to the top.
then use this to make your life easier:

<?PHP
define('VERSION','Classic v1.07.0');
define('CHECK_REFERER', true);
$form = decode_vars();

$referer_mails=explode(",",$form[recipient]);
for($z=0;$z
hope you like it. if you decide to use it, please put a little link to my hp.

btw: i loved the possibility of giving different answers in the html output, as it was offered in earlier versions. could you implement it again? i already did :-)

kind regards,
frank woelky

frank@ff-webdesigner.de
ff-webdesigner.de

By Anonymous on

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

make formmail easier! amelioration in referers array

oh please, don't use this, as it makes formmail even more vulnerable to hacker-value-injection.

I know this post is over 3

I know this post is over 3 years old ...............

Can you reply to me at robert@waverleydigital.com

I need to be able to do what it seems you have done .........

I will give you a way to totally keep your Form Page & Processor SAFE from Spam & Hackers with an amazing trick, not involving any part of the Form to Email Process in return.

Robert Peters

Melbourne Australia

Ph +61 3 417349183

Stalk me!

Drupal Association Member