setcookie("CookieName","cookieValue"," expire","directory path ","Domain name"); Example : setcookie("TestCookie","hi", time()+3600,"/dir1/dir2/","mytest.com");
Code & help 4 PHP, JavaScript, HTML, DHTML, CSS, Flex, Dot Net, SharePoint, C-Sharp, Java, ReactJs, NextJs, Node, Web Tools, Blockchain