RE: [PHP] addslash/stripslashes

2001-12-19 Thread Martin Towell
EMAIL PROTECTED] Subject: Re: [PHP] addslash/stripslashes On Wednesday 19 December 2001 13:12, you wrote: "test\"" === 'test"' evals true :-) what I don't get however, the second the var is set like $string = "escaping \" quotes"; the backslash dissapears

Re: [PHP] addslash/stripslashes

2001-12-19 Thread Don Read
On 19-Dec-2001 TD - Sales International Holland B.V. wrote: > On Wednesday 19 December 2001 13:12, you wrote: > > "test\"" === 'test"' evals true :-) > what I don't get however, the second the var is set like > $string = "escaping \" quotes"; > the backslash dissapears in the variable. The backs

Re: [PHP] addslash/stripslashes

2001-12-19 Thread TD - Sales International Holland B.V.
On Wednesday 19 December 2001 13:12, you wrote: "test\"" === 'test"' evals true :-) what I don't get however, the second the var is set like $string = "escaping \" quotes"; the backslash dissapears in the variable. The backslash is no longer there thus so having the statement mysql_query("inser

Re: [PHP] addslash/stripslashes

2001-12-18 Thread Michael Sims
At 09:49 PM 12/18/2001 +0100, TD - Sales International Holland B.V. wrote: >Also I'm looking for a small feature of HTML. I know this isn't the right >list so if you guys don't reply no hard feelings. At this moment I use meta >to refresh (go back to the form) after entering the data, you'll see a

RE: [PHP] addslash/stripslashes

2001-12-18 Thread Don Read
On 18-Dec-2001 TD - Sales International Holland B.V. wrote: > Hey there, > > I was once told I need to use addslashes and stripslashes on data I get from > the web and insert into the database. I'd like to know why?!?! See I know > that with other languages you could use special chars to hack/c