You are here: Re: how do I know if cookies are enabled? « PHP Programming Language « IT news, forums, messages
Re: how do I know if cookies are enabled?

Posted by Joshie Surber on 11/24/64 11:28

While I would first suggest that you design your pages where cookies
aren't required, the simplest way would be to include a small cookie
(hascookies=true, for example) on index.php then send a redirect header
to index2.php (or whatever) that checks for the existence of the
hascookies cookie. Then just design your site around index2.php instead
of index.php.

(if that seems sloppy, you could set the defaultindex in apache to
cookietest.php or something then redirect to index.php)

Hope that works for you.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация