hackerkts Posted July 30, 2006 Share Posted July 30, 2006 This is the format of setting cookie[code]setcookie(name, value, expire, path, domain);[/code]If I didn't set the path and domain, will the cookie be allow to use in all my site ?Example:My site is http://sky.cwhnetworks.com/And I only set the cookie name, value and the time it last. Will the cookie able to use in other page like http://sky.cwhnetworks.com/php/index.php etcs..Thanks in advance. Link to comment https://forums.phpfreaks.com/topic/16010-quick-qns-about-cookie/ Share on other sites More sharing options...
king arthur Posted July 30, 2006 Share Posted July 30, 2006 Yes. Link to comment https://forums.phpfreaks.com/topic/16010-quick-qns-about-cookie/#findComment-65789 Share on other sites More sharing options...
hackerkts Posted July 30, 2006 Author Share Posted July 30, 2006 Ok thanks. Link to comment https://forums.phpfreaks.com/topic/16010-quick-qns-about-cookie/#findComment-65798 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.