2009/10/14

Overcoming magic_quotes_gpc

Filed under: osCommerce Coding — Tags: , — eCartz @ 16:02  Share/Bookmark  Delicious  StumbleUpon  WordPress  Twitter  LinkedIn

PHP offers a feature called magic_quotes_gpc.  What this does is it takes all GET, POST, and COOKIE variables and applies a partial escaping to them.  Unfortunately, the escaping that it does is not good enough to pass the result directly to MySQL.  Further, when you run mysql_real_escape_string on the values, it will redo the escaping [...]

2009/10/02

Email templates for osCommerce 3

Filed under: osCommerce — Tags: , — eCartz @ 15:55  Share/Bookmark  Delicious  StumbleUpon  WordPress  Twitter  LinkedIn

I was browsing the osCommerce issue tracker recently and came across a request for an email templating system.  This is an interesting concept.  I looked at it a bit, and noticed that there were two issues.  The first issue is that the email layout is currently hard coded in includes/classes/order.php (as reported in that feature [...]

Powered by WordPress