RE: How do you make a form unusable by spammers please?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Many, many thanks Michael, changing it to send
instead worked.

Such a little thing to have caused so many grey
hairs!!!

I didn't quite understand this bit tho:

> You don't apparently need the
>    extract($_POST);
> line as you seem to have globals turned on.

Should I just delete that one line please?

How can you tell if I've got globals switched on
please?

Just trying to desperately learn this malarkey ;-)

The help is *very* much appreciated.

Chris.


> -----Original Message-----
> From: php-objects@xxxxxxxxxxxxxxx [mailto:php-
> objects@xxxxxxxxxxxxxxx] On Behalf Of Michael
Slavin
> Sent: Monday, February 06, 2006 7:08 PM
> To: php-objects@xxxxxxxxxxxxxxx
> Subject: Re:  How do you make a
form
> unusable by spammers please?
> 
> You aren't meeting your first test:
> if ($_POST['submit']) {
> 
> Your form button's name isn't "submit":
> <INPUT type=submit name="send" value="click to
send"
> class="sendbutton">
> 
> Try it with
> if ($_POST['send']) {
> and see if it doesn't wok better.
> You don't apparently need the
>    extract($_POST);
> line as you seem to have globals turned on.
> 
> -m
> 
> On Feb 6, 2006, at 11:00 AM, Chris wrote:
> 
> > Hi  Inung, been on this for a quite a while
now,
> > and can't seem to find what's causing the
problem,
> > on the page below, the error message should
appear
> > in the left hand column, but nothings
appearing
> > there at all, I'm not sure if the code would
> > appear here correctly, so the code is also on
the
> > link below.
> >
> > Any help much appreciated.
> >
> > Chris
> >
> > The form:
> > http://www.130605.com/7/
> >
> > The code:
> > http://www.130605.com/7.phps
> > 



PHP Data object relational mapping generator
http://www.metastorage.net/ 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-objects/

<*> To unsubscribe from this group, send an email to:
    php-objects-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux