[PHP] CORRECTION: Problem with cookies

2003-03-13 Thread Andrew Wallace
ech.com) (209.61.182.14) by pb1.pair.com with SMTP; 14 Mar 2003 02:14:21 - Received: from globilltech.com (astound-64-85-231-125.ca.astound.net [64.85.231.125]) by globilltech.com (8.9.3/8.9.3) with ESMTP id SAA07152 for <[EMAIL PROTECTED]>; Thu, 13 Mar 2003 18:17:55 -08

[PHP] Strange cookie issue

2003-03-13 Thread Andrew Wallace
Hi all - I am having a problem with cookies. It seems that if I set the domain field in setcookie, nothing happens. I also tried creating the cookie header manually, with the same results. This is what I have: $expireTime = time(); $expireTime += ($daysToExpire * 86400); setcookie("Test

Re: [PHP] Function misfunction - 2

2002-12-31 Thread Andrew Wallace
Um where is $lookuptable set? Seems like you should have: $lookuptable = setCurrentDevGroup($this->ComputerID); $query = "SELECT name FROM $lookuptable WHERE (ID=$this->ComputerID)"; echo $lookuptable; // gives an empty string. andy Martin S wrote: NOW what am I doing wrong?? function