Into the fire I go
I am starting my journey in to the land of os ( commerce ) . While I would really like to get in there and take out all those nasty nested tables, the first thing I am going to tackle is creating reference files. I need to have handy the basic definitions, functions, queries and file structure.
Each file within osCommerce first calls ‘application_top’. Within ‘application_top’ comes the calls to every other file needed to make the script function as intended. It also makes use of the ini_get() function to determine whether globals or on or off—and it requires them to be ‘on’!! Argh.
Allowing the script to run with php 5 is at the top of the list of modifications to make.
You can tell just how very old this script is by taking a gander at this definition found in ‘app_top’:
define(’BOX_WIDTH’, 125);
This seemingly innocent little definition was created to control the width of the outer containing table cell for each and every “infobox” within the shop. Yup, the OUTER TABLE CONTAINER.
Take a look at this puppy …read all about it
Tags: Development, e commerce, oscommerce, php code, rant, research


