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/