RE: [PHP] cookies won't set

From: Date: Fri, 15 Dec 2000 23:31:55 +0000
Subject: RE: [PHP] cookies won't set
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-30609@lists.php.net to get a copy of this message
what's the problem that you're running into? -sharpie! -Jonathan Sharp Director of Technology - Imprev Inc. Renwick Development Group - Flyerware http://www.flyerware.com/ Phone: (425)688-9200 -----Original Message----- From: Tom Beidler [mailto:tbeidler@mindspring.com] Sent: Friday, December 15, 2000 2:53 PM To: php list Subject: [PHP] cookies won't set 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 >>.>>.>>>.>>>>>.>>>>>>>>> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#30609) next »