Doubt on using header and setcookie functions

From: Date: Mon, 07 Oct 2002 12:06:16 +0000
Subject: Doubt on using header and setcookie functions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-119066@lists.php.net to get a copy of this message
Hi How to set cookies using header() function and using setcookie function? Setcookie('testcookie','Balaji',time()+3600,'/','10.145.0.1',1); If I want to write same thing with header function how can I do that? Is it like header("Set-Cookie: name=testcookie,value=Balaji,domain=10.145.0.1,secure=1") or header("Set-Cookie: testcookie,Balaji,10.145.0.1,1") Thanks in Advance Balaji

**************************Disclaimer************************************************ Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. ***************************************************************************************
« previous php.general (#119066) next »