nate wrote:
No. We originally had it using mysql_escape_string or
on a related topic shouldn't Sanitize::sql be using
mysql_real_escape_string as well?
Cheers
Tarique
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Nope. mysql_real_escape_string is MySQL-specifc. Cake supports
several database drivers, and Sanatize::sql is designed to be a
generalized method.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
No. We originally had it using mysql_escape_string or
mysql_real_escape_string depending on which was available, but after
the version requirement was moved up to 4.3.2, we removed the
references to mysql_escape_string because keeping it around was
pointless.
Using PHP 4.1.2, I get the following error when I try the tutorial:
Call to undefined function: mysql_real_escape_string()...of course this
is because the mysql_real_escape_string() function only works in PHP
4.3 or above. If I can't upgrade, my only recourse is the
mysql_escape_string
Cake doesn't really support PHP 4.1.2. Try upgrading to something more
recent like 4.4.
[EMAIL PROTECTED] wrote:
Using PHP 4.1.2, I get the following error when I try the tutorial:
Call to undefined function: mysql_real_escape_string()...of course this
is because
Cake does not officially support versions of PHP below 4.3.2.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this