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

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

 



Hi Inung,

Many thanks for the help on this, I have Googled
and researched until my eyes were nearly dropping
out of my sockets, and then I had the idea of
coming to this group in the hope that someone can
give a little guidance.

There's still errors on the page:

http://www.011005.com/2

http://www.011005.com/2.phps

I have got rid of the asterisks, and the other
part that you refer to, is that referring to a
file that doesn't exist please?  If, so which file
should I put there - is it supposed to be the
thank-you page?

Any help much appreciated.

Chris.

> -----Original Message-----
> From: php-objects@xxxxxxxxxxxxxxx [mailto:php-
> objects@xxxxxxxxxxxxxxx] On Behalf Of inoeng
> Sent: Friday, February 03, 2006 12:12 PM
> To: php-objects@xxxxxxxxxxxxxxx
> Subject: RE:  How do you make a
form
> unusable by spammers please?
> 
> hi chris,
> 
> go to line 93, and then mark the line "*** blah
blah
> blah". and please correct your file named
> connect_dir.inc (is it present there?) whichis
needed
> in line 97.
> 
> it is better for you to read books about php
first,
> try to build simple php application. u can go to
> www.flazx.com to find alot of free e-book. just
search
> about php.
> 
> refering to www.php.net, manual function (also
called
> as API --Application Programmer Interface-- in
other
> language) is a nice practice too. u could fine
many
> neat sample codes of using a spesific function.
> 
> ~inung;
> 
> 
> --- Chris <Chris@xxxxxxxxxx> wrote:
> 
> > Hi Nestor and Inung,
> >
> > Many thanks for the help - just altered
> > the code, but it's now giving a different
> > error message ;-(
> >
> > The page
> > http://www.011005.com/2/
> >
> > The code
> > http://www.011005.com/2.phps
> >
> > Any help appreciated.
> >
> > Chris
> >
> > > -----Original Message-----
> > > From: php-objects@xxxxxxxxxxxxxxx
> > > [mailto:php-objects@xxxxxxxxxxxxxxx] On
Behalf
> > Of Nestor
> > > Sent: Wednesday, February 01, 2006 11:11 PM
> > > To: php-objects@xxxxxxxxxxxxxxx
> > > Subject: Re:  How do you make a
> > form unusable by
> > > spammers please?
> > >
> > > Chris,
> > >
> > > from what I saw at the code line 118 was
part of
> > line 117
> > > which was a comment
> > > but since somehow it got split into 2 lines
then
> > comment
> > > ceased to be a commet
> > > and php does not understand the word
'variable'
> > >
> > > Either join lines 117 and 118 or comment 118
> > >
> > > At least thsi is the way it look on my
browser
> > when I took a look at
> > > your '.phps' file
> > >
> > > Nestor :-)
> > >
> > >
> > > On 2/1/06, Chris <Chris@xxxxxxxxxx> wrote:
> > > >  Hi Nestor,
> > > >
> > > >  Many thanks for your help. I did look at
line
> > 118
> > > >  but didn't know what I was looking for
;-(
> > > >  Should I change something there?
> > > >
> > > >  Any help appreciated.
> > > >
> > > >  Chris.
> > > >
> > > >  > -----Original Message-----
> > > >  > From: php-objects@xxxxxxxxxxxxxxx
> > > >  > [mailto:php-objects@xxxxxxxxxxxxxxx] On
> > Behalf
> > > >  Of Nestor
> > > >  > Sent: Wednesday, February 01, 2006 8:25
PM
> > > >  > To: php-objects@xxxxxxxxxxxxxxx
> > > >  > Subject: Re:  How do you
make
> > a
> > > >  form unusable by
> > > >  > spammers please?
> > > >  >
> > > >  > I counted by hand1 line at a time and I
> > found
> > > >  this:
> > > >  > ----------------
> > > >  >     //depending from which page the
request
> > > >  comes - assign certain
> > > >  > variables
> > > >  >     switch ($formVars['page']) {
> > > >  > --------------------
> > > >  >
> > > >  > Line 118 is the line with the word
> > 'variables'.
> > > >  I believe
> > > >  > this should be part of the previous
line of
> > > >  code.
> > > >  > Did you take a look at line 118?
> > > >  >
> > > >  > Hope this helps,
> > > >  >
> > > >  > Nestor :-)
> > > >  >
> > > >  > On 2/1/06, Chris <Chris@xxxxxxxxxx>
wrote:
> > > >  > >  Hi Patrick,
> > > >  > >
> > > >  > >  To say that your help your time has
been
> > > >  > >  appreciated, would be an
understatement.
> > > >  > >
> > > >  > >  I'm fairly sure I copied and pasted
> > > >  accurately,
> > > >  > >  but am now getting this error
message,
> > when
> > > >  trying
> > > >  > >  to view the page ;-(
> > > >  > >
> > > >  > >  Parse error: parse error, unexpected
> > T_SWITCH
> > > >  in
> > > >  > >
/home/throwawa/public_html/2/index.php
> > on
> > > >  line 118
> > > >  > >
> > > >  > >  On this page:
> > > >  > >  http://www.011005.com/2/
> > > >  > >
> > > >  > >  The code:
> > > >  > >  http://www.011005.com/2.phps
> > > >  > >
> > > >  > >  Any help appreciated.
> > > >  > >
> > > >  > >  Chris.
> > > >  > >
> > > >  > >
> > > >  > >  > -----Original Message-----
> > > >  > >  > From: php-objects@xxxxxxxxxxxxxxx
> > > >  > >  >
[mailto:php-objects@xxxxxxxxxxxxxxx]
> > On
> > > >  Behalf
> > > >  > >  Of Patrick Bands
> > > >  > >  > Sent: Wednesday, February 01, 2006
> > 10:01 AM
> > > >  > >  > To: php-objects@xxxxxxxxxxxxxxx
> > > >  > >  > Subject: RE:  How do
you
> > make
> > > >  a
> > > >  > >  form unusable by
> > > >  > >  > spammers please?
> > > >  > >  >
> > > >  > >  > Hope this helps
> > > >  > >  >
> > > >  > >  > Patrick
> > > >  > >  >
> >



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