Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread haliphax
On Thu, Mar 5, 2009 at 2:11 PM, Eric Butera wrote: > On Thu, Mar 5, 2009 at 3:07 PM, haliphax 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 literall

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 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 might be >> ca

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 upgra

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread Eric Butera
On Thu, Mar 5, 2009 at 3:07 PM, haliphax 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 don't need an I

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread haliphax
On Thu, Mar 5, 2009 at 2:00 PM, Eric Butera wrote: > On Thu, Mar 5, 2009 at 1:47 PM, haliphax wrote: >> On Thu, Mar 5, 2009 at 11:41 AM, Eric Butera wrote: >>> On Thu, Mar 5, 2009 at 12:21 PM, haliphax wrote: On Thu, Mar 5, 2009 at 11:08 AM, Eric Butera wrote: > On Thu, Mar 5, 2009 at

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread Eric Butera
On Thu, Mar 5, 2009 at 1:47 PM, haliphax wrote: > On Thu, Mar 5, 2009 at 11:41 AM, Eric Butera wrote: >> On Thu, Mar 5, 2009 at 12:21 PM, haliphax wrote: >>> On Thu, Mar 5, 2009 at 11:08 AM, Eric Butera wrote: On Thu, Mar 5, 2009 at 12:00 PM, haliphax wrote: > On Thu, Mar 5, 2009 at 1

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread haliphax
On Thu, Mar 5, 2009 at 11:41 AM, Eric Butera wrote: > On Thu, Mar 5, 2009 at 12:21 PM, haliphax wrote: >> On Thu, Mar 5, 2009 at 11:08 AM, Eric Butera wrote: >>> On Thu, Mar 5, 2009 at 12:00 PM, haliphax wrote: On Thu, Mar 5, 2009 at 10:52 AM, Eric Butera wrote: > Make sure to always

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread Eric Butera
On Thu, Mar 5, 2009 at 12:21 PM, haliphax wrote: > On Thu, Mar 5, 2009 at 11:08 AM, Eric Butera wrote: >> On Thu, Mar 5, 2009 at 12:00 PM, haliphax wrote: >>> On Thu, Mar 5, 2009 at 10:52 AM, Eric Butera wrote: On Thu, Mar 5, 2009 at 11:16 AM, Nigel Green wrote: > Hi all, > >

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread haliphax
On Thu, Mar 5, 2009 at 11:08 AM, Eric Butera wrote: > On Thu, Mar 5, 2009 at 12:00 PM, haliphax wrote: >> On Thu, Mar 5, 2009 at 10:52 AM, Eric Butera wrote: >>> On Thu, Mar 5, 2009 at 11:16 AM, Nigel Green wrote: Hi all, This is my first post to the list. Have been observing for

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread Eric Butera
On Thu, Mar 5, 2009 at 12:00 PM, haliphax wrote: > On Thu, Mar 5, 2009 at 10:52 AM, Eric Butera wrote: >> On Thu, Mar 5, 2009 at 11:16 AM, Nigel Green 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

Re: [PHP] Problem with mysql_real_escape_string

2009-03-05 Thread haliphax
On Thu, Mar 5, 2009 at 10:52 AM, Eric Butera wrote: > On Thu, Mar 5, 2009 at 11:16 AM, Nigel Green 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

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 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 of my input d

[PHP] Problem with mysql_real_escape_string

2009-03-05 Thread Nigel Green
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 of my input data. All is working well on my local installation, but when t

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

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() [function.mysql-real

[PHP] problem with mysql_real_escape_string()

2006-12-28 Thread afan
Hi to all! 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() [function.mysql-real-escape-string