Re: mysql_real_escape_string problem

2004-10-09 Thread Paul DuBois
At 23:58 -0400 10/9/04, leegold wrote: On Sat, 9 Oct 2004 22:31:07 -0500, "Paul DuBois" <[EMAIL PROTECTED]> said: At 23:18 -0400 10/9/04, leegold wrote: >Seems like mysql_real_escape_string function is not working? >mysql Ver 14.5 Distrib 4.1.3a-beta, for Win95/Win98 (i32) > >$originalstr

Re: mysql_real_escape_string problem

2004-10-09 Thread Michael Stassen
leegold wrote: On Sat, 9 Oct 2004 22:31:07 -0500, "Paul DuBois" <[EMAIL PROTECTED]> said: At 23:18 -0400 10/9/04, leegold wrote: Seems like mysql_real_escape_string function is not working? mysql Ver 14.5 Distrib 4.1.3a-beta, for Win95/Win98 (i32) "; echo addslashes( $originalstring ), ""; echo

Re: mysql_real_escape_string problem

2004-10-09 Thread leegold
On Sat, 9 Oct 2004 22:31:07 -0500, "Paul DuBois" <[EMAIL PROTECTED]> said: > At 23:18 -0400 10/9/04, leegold wrote: > >Seems like mysql_real_escape_string function is not working? > >mysql Ver 14.5 Distrib 4.1.3a-beta, for Win95/Win98 (i32) > > > > >$originalstring = "Apostrophe's rock"; > >e

Re: mysql_real_escape_string problem

2004-10-09 Thread Paul DuBois
At 23:18 -0400 10/9/04, leegold wrote: Seems like mysql_real_escape_string function is not working? mysql Ver 14.5 Distrib 4.1.3a-beta, for Win95/Win98 (i32) "; echo addslashes( $originalstring ), ""; echo mysql_escape_string( $originalstring ), ""; echo mysql_real_escape_string( $originalstrin

mysql_real_escape_string problem

2004-10-09 Thread leegold
Seems like mysql_real_escape_string function is not working? mysql Ver 14.5 Distrib 4.1.3a-beta, for Win95/Win98 (i32) "; echo addslashes( $originalstring ), ""; echo mysql_escape_string( $originalstring ), ""; echo mysql_real_escape_string( $originalstring ), ""; ?> Shows up in my browser as

Re: Binary data with embedded nulls (mysql_real_escape_string problem).

2001-12-14 Thread M. A. Alves
On Fri, 14 Dec 2001, Ian Collins wrote: > > I am having difficulties with entering binary data from a c program. > I have passed the string through mysql_real_escape_string. Post the C data then. However read on. > > . . . > > drop table if exists junk5; > > create table junk5 > ( > id int no

Binary data with embedded nulls (mysql_real_escape_string problem).

2001-12-13 Thread Ian Collins
(The following was done in mysql_4.0 alpha) I am having difficulties with entering binary data from a c program. I have passed the string through mysql_real_escape_string. What I am seeing is that if the binary data contains an ascii 0, then mysql_real_escape_string, correctly, translates it t