Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread Eric Butera
On Thu, Mar 5, 2009 at 11:16 AM, Nigel Green ni...@greenlemur.com wrote: Hi all, This is my first post to the list. Have been observing for a few weeks and have learnt a lot. I am having an issue in one of my scripts where using the mysql_real_escape_string function is stripping content out

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread haliphax
On Thu, Mar 5, 2009 at 10:52 AM, Eric Butera eric.but...@gmail.com wrote: On Thu, Mar 5, 2009 at 11:16 AM, Nigel Green ni...@greenlemur.com wrote: Hi all, This is my first post to the list. Have been observing for a few weeks and have learnt a lot. I am having an issue in one of my scripts

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread Eric Butera
On Thu, Mar 5, 2009 at 12:00 PM, haliphax halip...@gmail.com wrote: On Thu, Mar 5, 2009 at 10:52 AM, Eric Butera eric.but...@gmail.com wrote: On Thu, Mar 5, 2009 at 11:16 AM, Nigel Green ni...@greenlemur.com wrote: Hi all, This is my first post to the list. Have been observing for a few weeks

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread haliphax
On Thu, Mar 5, 2009 at 11:08 AM, Eric Butera eric.but...@gmail.com wrote: On Thu, Mar 5, 2009 at 12:00 PM, haliphax halip...@gmail.com wrote: On Thu, Mar 5, 2009 at 10:52 AM, Eric Butera eric.but...@gmail.com wrote: On Thu, Mar 5, 2009 at 11:16 AM, Nigel Green ni...@greenlemur.com wrote: Hi

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread Eric Butera
On Thu, Mar 5, 2009 at 12:21 PM, haliphax halip...@gmail.com wrote: On Thu, Mar 5, 2009 at 11:08 AM, Eric Butera eric.but...@gmail.com wrote: On Thu, Mar 5, 2009 at 12:00 PM, haliphax halip...@gmail.com wrote: On Thu, Mar 5, 2009 at 10:52 AM, Eric Butera eric.but...@gmail.com wrote: On Thu,

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread haliphax
On Thu, Mar 5, 2009 at 11:41 AM, Eric Butera eric.but...@gmail.com wrote: On Thu, Mar 5, 2009 at 12:21 PM, haliphax halip...@gmail.com wrote: On Thu, Mar 5, 2009 at 11:08 AM, Eric Butera eric.but...@gmail.com wrote: On Thu, Mar 5, 2009 at 12:00 PM, haliphax halip...@gmail.com wrote: On Thu,

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread Eric Butera
On Thu, Mar 5, 2009 at 1:47 PM, haliphax halip...@gmail.com wrote: On Thu, Mar 5, 2009 at 11:41 AM, Eric Butera eric.but...@gmail.com wrote: On Thu, Mar 5, 2009 at 12:21 PM, haliphax halip...@gmail.com wrote: On Thu, Mar 5, 2009 at 11:08 AM, Eric Butera eric.but...@gmail.com wrote: On Thu, Mar

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread haliphax
On Thu, Mar 5, 2009 at 2:00 PM, Eric Butera eric.but...@gmail.com wrote: On Thu, Mar 5, 2009 at 1:47 PM, haliphax halip...@gmail.com wrote: On Thu, Mar 5, 2009 at 11:41 AM, Eric Butera eric.but...@gmail.com wrote: On Thu, Mar 5, 2009 at 12:21 PM, haliphax halip...@gmail.com wrote: On Thu, Mar

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread Eric Butera
On Thu, Mar 5, 2009 at 3:07 PM, haliphax halip...@gmail.com wrote: Sadly, my company is throwing PHP out the window in favor of ASP.NET, as they have an irrational fear of Open Source software. Don't get me wrong--.NET is pretty darn cool--but I literally enjoy working in PHP. The fact that I

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread Nigel Green
On 05/03/09, Eric Butera wrote: Make sure to always pass your active database connection into the second parameter of mysql_real_escape_string. There could be character set differences between your two servers too that might be causing issues for you. If at all possible I would recommend

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread Eric Butera
On Thu, Mar 5, 2009 at 3:29 PM, Nigel Green ni...@greenlemur.com wrote: On 05/03/09, Eric Butera wrote: Make sure to always pass your active database connection into the second parameter of mysql_real_escape_string.  There could be character set differences between your two servers too that

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread haliphax
On Thu, Mar 5, 2009 at 2:11 PM, Eric Butera eric.but...@gmail.com wrote: On Thu, Mar 5, 2009 at 3:07 PM, haliphax halip...@gmail.com wrote: Sadly, my company is throwing PHP out the window in favor of ASP.NET, as they have an irrational fear of Open Source software. Don't get me wrong--.NET is

Re: [PHP] problem with mysql_real_escape_string()

2006-12-28 Thread Stut
[EMAIL PROTECTED] wrote: I moved my website from one php4/mysql4 based server to new hosting company and php5/mysq5 based server. Everything worked fine on old server, though now, on one page after I submit new record, I'll get this error: Warning: mysql_real_escape_string()

Re: [PHP] problem with mysql_real_escape_string()

2006-12-28 Thread afan
A little bit lower on php.net/manual I found explanation too. I'm sorry for bothering - wasn't check whole page before posting. The Warning was strange for me because never got it before :) Thanks for your help. -afan [EMAIL PROTECTED] wrote: I moved my website from one php4/mysql4 based