Login   Register  
PHP Classes
elePHPant
Icontem

File: includes/application.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of RAZA  >  shopcart  >  includes/application.php  >  Download  
File: includes/application.php
Role: Auxiliary script
Content type: text/plain
Description: Cart Configuration File
Class: shopcart
Manage a shopping cart stored in a MySQL database
Author: By
Last change:
Date: 5 years ago
Size: 283 bytes
 

Contents

Class file image Download
<?php
require('includes/classes/Cart.php');
session_start();

$cart =& $_SESSION['cart'];
if(!
is_object($cart)) $cart = new Cart();

require(
'includes/classes/Database.php');
$db=new Database();
$db->Connect();

require(
'includes/classes/Site.php');
$site=new Site();
?>