我正面臨另一個問題。我在php中建立了一個項目。網址是像「www.mysite.com」 我創建使用example1.php頁面是根目錄下,並在頁面的路徑是setcookie()
方法的餅乾... www.mysite.com/in/example1.php
無法訪問Cookie
現在我想找回頁面'indix.php'中cookie的值,其網址爲www.mysite.com/index.php
,位於文件夾「in」之外。
但在此index.php
頁面未找到cookie。 我使用print_r()
但沒有找到cookie。
我做了什麼錯誤?請幫幫我。
非常感謝。它的工作.... –