Search the Community
Showing results for tags 'base uri'.
-
// Are we live? if (!defined('LIVE')) DEFINE('LIVE', false); // Errors are emailed here: DEFINE('CONTACT_EMAIL', 'you@example.com'); // ************ SETTINGS ************ // // ********************************** // // ********************************** // // ************ CONSTANTS *********** // // Determine location of files and the URL of the site: define ('BASE_URI', 'C:\xampp\htdocs\ecommerce1\ex1\.'); define ('BASE_URL', 'http://localhost/ecommerce1/ex1/'); define ('PDFS_DIR', BASE_URI . 'pdfs/'); // Added in Chapter 5. define ('MYSQL', BASE_URI . 'm
-
Hi, I bought this book effortless ecommecre 2nd edition and downloaded the source code from this website. The first pdf example worked but the coffee ecommerce script isn't working properly. First, I am using xampp and the directory i stored the code for coffee ecom is at "c:/xampp/htdocs/ullman". what should be my base uri and base url. I did "define('BASE_URI', 'c:/xampp/htdocs/ullman/'), define('BASE_URL', 'localhost/ullman/');" which made the site work partially. For instance, the Home, Coffee, Goodies, Sales, Wish List, Cart works but the css for pages having url "http://localhost