可是为什么要在服务器上设置存储COOKIES的目录?????
谁告诉你的??
谁告诉你的??
解决方案 »
- 求个高手指导下,从服务器下载的文件下了,但一打开是空的。
- fatal error 网上找的答案都解决不了
- $obj=[]; $obj={}; $obj=(); $obj=//; 哪个语法不正确?
- Fatal error: Call to undefined function mysql_connect()
- 制作PHP模拟POST表单提交, 但是无法提交带点号的POST数据.
- php mail发送图片的问题
- linux下修改模板失效
- 求一个SQL排序方法,在线等
- -----兄弟们在开发PHP时,有没什么好的开发框架推荐下?请大家广开言论啊-----
- 有没有人知道图片BASE64上传,服务端接收数据会变<x>
- 自己写SOCKET程序发送电子邮件,使用UTF-8、gb2312编码邮件内容在outlook或者 Foxmail中都正常显示。
- 新闻自动更新系统
// [EN] Special parameters $cookiedomain = ''; // cookie 作用域
$cookiepath = '/'; // cookie 作用路径
path The path on the server in which the cookie will be available on. If set to '/', the cookie will be available within the entire domain. If set to '/foo/', the cookie will only be available within the /foo/ directory and all sub-directories such as /foo/bar/ of domain. The default value is the current directory that the cookie is being set in.
setcookie("user_id",$uu_id,time()+31536000,"/~03th/");
"/~03th/"就是楼主所有的那个目录名吧?~我这里有个问题想问问,
setcookie("user_id",$uu_id,time()+31536000);
这样是可以了,但加上后
setcookie("user_id",$uu_id,time()+31536000,"/~03th/");
这样就没有效果了,不知为什么?
费ASP.NET空间申请http://www.kingtoo.com/pdtshw/hstshw/index.asp,
支持ASP.NET1.1, 2.0
100M asp.net 空间只要50元(www.kingtoo.com)