Hi again,
Cart1 script is basically a form that posts to cart 2 script.
Cart 2 receives variables (e.g. $name=$POST['name']😉 and validates via ereg() or somesuch. If the vars seem valid, then:
$_SESSION['name']=$name;
and so on.
For the cart itself, you can create an array, (SKU, quantity, price, etc.) and then assign it to
$_SESSION['cart']=$myarray;
or whatever. You'd then calculate with these variables. If you're interested in OOP, there are some classes that make it even easier, I think. How easy is it really? Well, it's quite a bit easier the second time around.... 🙂
FWIW, there are some free carts out there. FishCart looks impressive and is probably a premier Open Source package, but I found the one in the SAM'S book "PHP and MySQL Web Development" to be easier to take in at first. They even include entire projects on CD that you can hack at for your first try...
HTH,