Re: [PHP] wierd slash

2007-01-22 Thread Jim Lucas
Don wrote: magic_quotes_gpc On On magic_quotes_runtime Off Off magic_quotes_sybase Off Off but I know if I can change that is there some other way to fix this problem? Don # [EMAIL PROTECTED] / 2007-01-20 21:50:48 -0700: I have a line of code that validates form info for some POST vars,

RE: [PHP] wierd slash

2007-01-21 Thread Don
magic_quotes_gpc On On magic_quotes_runtime Off Off magic_quotes_sybase Off Off but I know if I can change that is there some other way to fix this problem? Don # [EMAIL PROTECTED] / 2007-01-20 21:50:48 -0700: > I have a line of code that validates form info for some POST vars, but not > ot

Re: [PHP] wierd slash

2007-01-21 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-20 21:50:48 -0700: > I have a line of code that validates form info for some POST vars, but not > others. > > if (!ereg("^[A-Za-z' -]{1,50}$",$_POST[$field]) ) > > when I put O'Toole in the form to test, my script kicks the page back (I > thought this entry w

[PHP] wierd slash

2007-01-20 Thread Don
I have a line of code that validates form info for some POST vars, but not others. if (!ereg("^[A-Za-z' -]{1,50}$",$_POST[$field]) ) when I put O'Toole in the form to test, my script kicks the page back (I thought this entry would be OK) but moreover, when it redisplays