php怎么实现跨页面保存变量 在调用变量

2025-02-25 23:20:17
推荐回答(1个)
回答1:

用setcookie函数,如setcookie("username",$user);
调用的时候就是这个值$_COOKIE['username'];
只用php就可以搞定了。