You are here: Re: Trouble with PHP formmail « PHP Programming Language « IT news, forums, messages
Re: Trouble with PHP formmail

Posted by Kimmo Laine on 11/07/06 06:34

"ZeldorBlat" <zeldorblat@gmail.com> wrote in message
news:1162830499.134636.112980@h48g2000cwc.googlegroups.com...
>
> laredotornado@zipmail.com wrote:
>> Hi, I'm using PHP 4.4.4 and have downloaded the free script
>> formmail.php (version 4.1b). Wondered if anyone had experienced the
>> same problem I'm having. I'm submitting a form to formmail.php, but
>> none of the variables seem to be getting recognized. Here is part of
>> the form I'm submitting ...
>>
>> <body onload="document.forms[0].submit();">
>> Sending Order ...
>>
>> <form action="formmail.php" method=post
>> enctype="application/x-www-form-urlencoded">
>> <INPUT TYPE="hidden" NAME="subject" VALUE="Order for Coffee">
>> <INPUT TYPE="hidden" NAME="redirect" VALUE="thanks.html">
>> <INPUT TYPE="hidden" NAME="recipient"
>> VALUE="laredotornado@gmail.com">
>> ...
>> </form>
>> </body>
>
> The script you've downloaded likely requires register_globals to be
> enabled (bad) and your server has it disabled (good). Either turn it
> on in php.ini (bad) or get a newer version of the script that doesn't
> require it (good). If there isn't a version of formmail.php that
> doesn't require register globals then I'd look for another script.

I'd look for another script in any case. That one is the kind of that
spammers exploit to deliver their junkmail to people. Recipient in a hidden
field, come on!! It will become a spam relay faster than you can say
supercalifragilisticexpialidocious... >:(


--
"Ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" - lpk
http://outolempi.net/ahdistus/ - Satunnaisesti p�ivittyv� nettisarjis
spam@outolempi.net | rot13(xvzzb@bhgbyrzcv.arg)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация