Author Topic: Use of addslashes in WebsiteBaker  (Read 1942 times)


  • Guest
Use of addslashes in WebsiteBaker
« on: May 27, 2008, 04:01:20 PM »
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_s tring() and use that function?


  • Guest
Re: Use of addslashes in WebsiteBaker
« Reply #1 on: May 27, 2008, 04:30:04 PM »

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
« Last Edit: May 27, 2008, 04:31:53 PM by doc »