0) { $nPos = stripos ($cart, $strMID); if ($nPos === FALSE) { $cart .= ','.$_GET['mid']; } } } else { $cart = $_GET['mid']; } break; case 'delete': if ($cart) { $items = explode(',',$cart); $newcart = ''; foreach ($items as $item) { if ($_GET['mid'] != $item) { if ($newcart != '') { $newcart .= ','.$item; } else { $newcart = $item; } } } $cart = $newcart; } break; } $_SESSION['cart'] = $cart; $cart = $_SESSION['cart']; if ($cart) { $items = explode(',',$cart); $contents = array(); foreach ($items as $item) { //echo "$item"; //echo "
"; } } */ $sourcefile = '/home/bostonc/public_html/images2/favcart.png'; header('Content-type: image/png'); readfile($sourcefile); ?>