[PHP] backslashes, string replacement, mysql_real_escape_strings and languages

2009-05-30 Thread PJ
Ok, let's get this straightened out, please. I'm coming up with little annoyances like text with é & the like being displayed and not displayed, having to enter it to get it displayed, and sometimes seeing the code rather than the accented character. And then there is preg_replace! When I have to u

Re: [PHP] backslashes

2004-08-28 Thread Thomas Goyne
On Fri, 27 Aug 2004 18:29:50 -0400, Ryan Schefke <[EMAIL PROTECTED]> wrote: Thomas, I'm not sure what your point is. Please expand. Ryan Do you really see nothing wrong with announcing to all users that they can run arbitrary SQL with your script? well, the where clause in mysql is relativly

Re: [PHP] backslashes

2004-08-27 Thread Jason Wong
On Friday 27 August 2004 15:31, Ryan Schefke wrote: First of all: Using unsanitised data from forms and links is a VERY bad thing. > Show > > Thank You Notes "Not Sent" Two problems here: 1) URLs needs to be urlencode() appropriately 2) But your major problem is you're passing too

[PHP] backslashes

2004-08-27 Thread Ryan Schefke
Hi, I have a jump box that sends the following value to the page. Show Thank You Notes "Not Sent" Then, the below query is run: $query = "SELECT name, event, description, cash, action, thankyou FROM gifts WHERE customerID='$passid' $sort"; My problem is with the \'No

Re: [PHP] backslashes added to POST value

2002-02-11 Thread Michael Sims
At 12:34 PM 2/11/2002 -0600, news.php.net wrote: >My post values have backslashes added to them (such as to protect a >double-quote). >All the magic_quote_* settings are turned off in php.ini. >Any ideas why this is happening? As someone else has already mentioned, this setting could be coming fr