Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 03:33:23 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Use of addslashes in websitebaker  (Read 978 times)
kanzler

Offline Offline

Posts: 1


« on: May 27, 2008, 03: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?
Logged
doc
Guest
« Reply #1 on: May 27, 2008, 03:30:04 PM »

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
« Last Edit: May 27, 2008, 03:31:53 PM by doc » Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!