Page 1 of 1

home version mysql is not the same commercial version mysql

Posted: Fri Feb 20, 2009 1:30 pm
by gphp
Would anyone know how much difference is between the single/home version MySQL and the commercial version?
I can make something to work on my home version MySql but once I put same text out there it generates an error!
Thanks.
:roll:
here is the problem:

Code: Select all

 
$message_d = $post['message'];
 
$message_d      nwo` how to' figure/ out '\this proble/`    - failed, raw message
 
                let's call these $10/sh to $15/sh           - failed, did not like the ' single quote
//----------------------------------------------------------------------------
 
$message = str_replace("'", "\'", "$message_d");        - taken from the $post above
 
$message        nwo` how to' figure/ out '\this proble/`        - passed even with the quotes
 
                nwo` how to' figure/ out '\this proble/`\'\`    - failed, end slashes with quotes
 
                let's call these $10/sh to $15/sh       - passed, but it does not pass on commercial version of MySql
 

Re: home version mysql is not the same commercial version mysql

Posted: Sun Feb 22, 2009 6:04 pm
by josh
Sounds like PHP has magic quotes enabled