Use of addslashes in WebsiteBaker

doc

#2
Hello,

we have not added this feature for backwards compatibility and to prevent a mixture in the database.
The WebsiteBaker 2.x trunk simply shows its age (core files are about 5 year old).

Lots of cool features like try/except error handling, real OOP etc. would require PHP 5 and the touch about 90% of the core files. However, WB 3.0 is currently under development and will replace WB 2.x once the time has come. As WB 3.0 will be rewritten from scratch there are no limits from previous versions which needs to be taken into account.

Regards Christian

kanzler

I have a question for the developers: Why does 2.7 still use addslashes to escape data that ends up in the database? Why not add an EscapeString function to the database class which calls mysql_real_escape_string() and use that function?