WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.8 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • General Community »
  • Global WebsiteBaker 2.8.x discussion »
  • Use of addslashes in WebsiteBaker
  • Print
Pages: [1]   Go Down

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

kanzler

  • 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?
Logged

doc

  • Guest
Re: Use of addslashes in WebsiteBaker
« Reply #1 on: May 27, 2008, 04: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, 04:31:53 PM by doc »
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • General Community »
  • Global WebsiteBaker 2.8.x discussion »
  • Use of addslashes in WebsiteBaker
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2