require __DIR__ . '/foo.php';. 而這種寫法就得依靠 include_path 內有 . ,而且還要祈禱不會在其他的目錄裡出現同樣檔名:. <?php require 'foo.php ...
確定! 回上一頁