Use header to send cookies
header("Set-Cookie: testcookie=Chinese; path=/; domain=.phpv.net; expires=".gmstrftime("%A, %d-%b-%Y %H: %M:%S GMT",time()+9600));
Please change path=/; domain=.phpv.net; to your own (delete them if you don’t know how to set them)
http://www.bkjia.com/PHPjc/317985.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/317985.htmlTechArticleUse header to send cookie header("Set-Cookie:testcookie=Chinese;path=/;domain=.phpv. net;expires=".gmstrftime("%A,%d-%b-%Y%H:%M:%SGMT",time()+9600)); Please change path=/;domain=.phpv.net ;Changed to self...