cookies won't set

From: Date: Fri, 15 Dec 2000 22:53:07 +0000
Subject: cookies won't set
Groups: php.general 
Request: Send a blank email to php-general+get-30603@lists.php.net to get a copy of this message
Sorry, this is probably a daily post. I setup a site on one machine, a development server, and it was difficult to get my cookies to work correctly. They did eventually start working. Now I have to move the site to the actual machine and I'm running into problems again. I was hoping that I use the same code and change the "domain". Here's my code; while ($row = mysql_fetch_array($result)) { $dealer_id = $row["dealer_id"]; } srand((double)microtime()*1000000); $randval = rand(); setcookie("fitovers_dealerid",$randval,time()+14400,"/","alpha.scvnet.net", 0); setcookie("dealer_id_cke",$dealer_id,time()+14400,"/","alpha.scvnet.net", 0); header("Location: dealerindex.php3"); exit; Does anyone know where I can start looking or some good trouble shooting techniques for finding a solution. The last ones almost started magically appearing. The ISP said they didn't change anything. Any help would be appreciated. Thanks, Tom >>.>>.>>>.>>>>>.>>>>>>>>> Tom Beidler Orbit Tech Services 805.455.7119 (cell) 805.682.8972 (phone) 805.682.5833 (fax) tbeidler@mindspring.com >>.>>.>>>.>>>>>.>>>>>>>>>

« previous php.general (#30603) next »