[請益] php問題
我試一個code 跑出
"; print "username : " . $_COOKIE["username"] . "
"; print "password : " . $_COOKIE["password"] . "
"; print "email : " . $_COOKIE["email"] . "
"; print "phone : " . $_COOKIE["phone"] . "
"; print "address : " . $_COOKIE["address"]; ?>
但我朋友試就跑出
Cookie 的有效期限是 : 2009年1月1日
Notice: Undefined index: username in C:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\ex11-11.php on line 20
username :
Notice: Undefined index: password in C:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\ex11-11.php on line 21
password :
Notice: Undefined index: email in C:\Program Files\Apache Software
Foundation\Apache2.2\htdocs\ex11-11.ph
Cookie 的有效期限是 : 2009年1月1日 這行應該是成功執行後的結果
我在網址上打127.0.0.1有成功跑出
The AppServ Open Project - 2.5.10 for Windows這個畫面
請問是我哪裡設定有問題嗎?
可以幫忙解答嘛 謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 124.218.208.163
→
07/12 20:36, , 1F
07/12 20:36, 1F
→
07/12 20:37, , 2F
07/12 20:37, 2F
→
07/12 20:37, , 3F
07/12 20:37, 3F
→
07/12 20:37, , 4F
07/12 20:37, 4F
→
07/12 20:39, , 5F
07/12 20:39, 5F
→
07/13 04:28, , 6F
07/13 04:28, 6F
→
07/13 04:29, , 7F
07/13 04:29, 7F
推
07/13 09:10, , 8F
07/13 09:10, 8F
→
07/13 11:34, , 9F
07/13 11:34, 9F
推
07/13 19:07, , 10F
07/13 19:07, 10F
PHP 近期熱門文章
PTT數位生活區 即時熱門文章