Closed Thread Icon

Topic awaiting preservation: Javascript shopping cart w/cookies & PHP??? (Page 1 of 1) Pages that link to <a href="http://ozoneasylum.com/backlink?for=12062" title="Pages that link to Topic awaiting preservation: Javascript shopping cart w/cookies &amp;amp; PHP??? (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: Javascript shopping cart w/cookies &amp; PHP??? <span class="small">(Page 1 of 1)</span>\

 
grats42
Nervous Wreck (II) Inmate

From: hoboken nj
Insane since: Feb 2002

posted posted 02-22-2002 04:32

Ok, I'm making a shopping cart with Javascript....the thing is, the existing form mailer i have is php...the javascript cart uses cookies to store the info...can I access these same cookies with PHP to mail the final form? If I could convince the business owner to get a secure server, I could just continue on with the Javascript to do the final ordering part, but at the moment, the PHP form is the way...

the php form i'm using is at www.drisson.com/order.php

thanks again all...

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 02-22-2002 08:06

You should be able to access cookies set by JavaScript from PHP ($HTTP_COOKIE_VARS), only thing that you should look for is path variable which was used when setting cookie from JavaScript (if it's even used), because PHP script must be located somewhere inside that path in order to see that cookie...


« BackwardsOnwards »

Show Forum Drop Down Menu