看板 PHP 關於我們 聯絡資訊
我用 file_exists 去找別的網站網頁存不存在 好像都找不到耶~~都顯示不存在....明明就有網頁阿 只有試自己電腦的網頁存不存在~~能夠正確顯示出來 $bb='http://member.ettoday.com/book/function.php-is_file.htm ' if (file_exists($bb)) { echo "The file $filename exists"; } else { echo "The file $filename does not exist"; } 還是說有別的函式可以用的 感謝大大 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 203.73.242.78 ※ 編輯: phpasp 來自: 203.73.242.78 (08/29 14:23)
alpe:php.net 沒說可以check web 的啊 08/29 14:36