关于PHP的session() 在php.ini中设置,或页面中session_cache_limiter('private');session_cache_expire(30); //30 min 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 我是这样弄的<?require './libs/header.php';require 'config.php';?>header.php<?phpheader("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the pastheader("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modifiedheader("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1 header("Cache-Control: post-check=0, pre-check=0", false);header("Pragma: no-cache"); // HTTP/1.0?> 重置 PHPSESSID Cookie 的过期时间... 个人PHP技术展示,请指教。。。 mysql#2002 error 找不到原因 如何循环输出$_POST[]的值? php中这段代码作用是什么,谁能说清楚点 请教:mysql_query("source ...")报错的问题 谢谢大家! 重新整理了下,关于跨多域(domain1.com、domain2.com、……)的cookie解决思路,我的主要思路是利用集中cookie维护,大家讨论? 请问怎么更新BLOB字段? 如何判断用户输入的手机号是正确的??? 如何把JS的变量的值传递给PHP的变量啊? 这句话怎么写才能正确? 初学PHP的几个问题,望请赐教
<?
require './libs/header.php';
require 'config.php';
?>
header.php
<?php
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Always modified
header("Cache-Control: private, no-store, no-cache, must-revalidate"); // HTTP/1.1
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache"); // HTTP/1.0
?>