Re: PHP Cookies
| From: | Miguel Cruz | Date: | Mon, 20 May 2002 17:23:05 +0000 |
| Subject: | Re: PHP Cookies | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-98477@lists.php.net to get a copy of this message | ||
On Mon, 20 May 2002, Darren Edwards wrote:
> Hi, i want to use a cookie to set a skin for a site but when i go to the
> site when there is no cookie set then it will display no images background
> colors ect... So what i need to do is have a command that will set other
> images background ect. as default if there is no cookie there. How can i
> acheave this.
if ($cookie_was_set)
{
// set images and background based on cookie contents
}
else
{
// set default images and background
}
Surely there's some more challenging aspect to your query but I'm at a
loss as to what it is.
miguel