[thelist] in-principle, PHP/mySQL shopping basket question

Aredridel aredridel at nbtsc.org
Wed Jul 23 18:54:53 CDT 2003


On Wed, 2003-07-23 at 17:30, Julian Voelcker wrote:
> On Wed, 23 Jul 2003 12:16:36 -0400 (EDT),  wrote:
> > Is there a way of checking whether the user client has cookies enabled? In
> > PHP that is.
> 
> Write the cookie on the home page and then test to see if it is still there 
> on the first page of the shopping system.
> 
> It is worth noting that if they have cookies turned off you probably won't 
> be able to use session variables either.

You can use session variables with SID passing in the URL.  PHP does
this automagically in most configurations, too.  This is why PHP is
popular ;-)

Ari



More information about the thelist mailing list