ID: 11492 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Old-Bug Type: Unknown/Other Function Bug Type: HTTP related Operating system: PHP Version: 4.0.5 Assigned To: Comments: Works for me just fine with NS 4.77 and IE 5.5. Try leaving the domain out. And if that helps, then check what the domain in url is when you access the page..ie. if you access it with url: http://localhost/cookie.php it wont work. --Jani Previous Comments: --------------------------------------------------------------------------- [2001-06-14 14:05:46] [EMAIL PROTECTED] I wanted to point out something for the parsing of a setcookie function in PHP on Apache/FreeBSD. If I set a cookie with no attributes like: setcookie("cookietype", "chocolateChip"); It seems to work fine I can place it before the headers and call it after I select a link. Your function list on the quickref page states that setcookie is involved in the NS cookie standard format. i.e. int setcookie("cookie_name", "cookie_value", expire_time, "location", "url", security); When I set a cookie as: setcookie("cookieType", "oatmealRaisen", time()+45000, "/", ".foo.com"); It will not show up or even set. I cleared all of my cookies and accessed the page. My script sets the cookie before the header information and then I click a link to a test page that calls the cookie and tries to echo the value. No value, check my cookies folder and no cookie. Do I need to modify the cookie function in PHP source to work on freeBSD or is it missong some special module that parses cookies responsibly. --Jimmy --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11492&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]