PHP Skinning Problem

From: Date: Sun, 19 May 2002 23:08:48 +0000
Subject: PHP Skinning Problem
Groups: php.general 
Request: Send a blank email to php-general+get-98393@lists.php.net to get a copy of this message
Can some one please tell me why this PHP command brings back an Undefined variable: QUERY_STRING on line 1. The script is below, by the way it is PHP on windows not unix. <?php SetCookie("skin", "$QUERY_STRING", time()+3600); ?> Also can some one please tell me why this is bringing back a problem on a windows server. <?php if($skin=="black") { $skin="#000000"; $text="#FFFFFF"; }; if($skin=="white") { $skin="#FFFFFF"; $text="#000000"; }; ?>

« previous php.general (#98393) next »