熟人
中级会员
 
UID 92185
精华
0
积分 332
帖子 476
金钱 332 喜悦币
威望 0
人脉 0
阅读权限 30
注册 2007-4-29
状态 离线
|
[推荐阅读] 关于PHP.INI,请大家帮忙
$str = "HTTP/1.1 302 Moved Temporarily Date: Wed, 23 May 2007 01:15:17 GMT Pragma: No-cache Location: http://211.138.198.10/global/log ... l=/loginControl.jsp Content-Type: text/html; charset=GBK Expires: Thu, 01 Jan 1970 00:00:00 GMT Set-Cookie: JSESSIONID=GTVlTtzdhQVQvnx2hJqG64vydSkTMSrJGcnkBKZ1Gwp9JY2ml021!1770215969; path=/ cache-control: no-cache Transfer-Encoding: chunked Cache-Control: no-cache
**content you got is : 0176 ";
echo preg_replace("~.*JSESSIONID=(.*?);.*~is", "$1", $str);
|
|