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
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
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
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
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
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
(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