.htacess如何啓用allow_url_include和.htacess於allow_url_fopen
# Do not remove this line, otherwise mod_rewrite rules will stop working
RewriteBase/
allow_url_fopen On
allow_url_include On
㈣嘗試添加這對我的.htaccess,但沒有使用我想這
$contnt = file_get_contents('http://site/files.php');
echo $contnt;
但即時得到這個錯誤
Fatal error: Call to undefined function dijkstra() in /home/a2515416/public_html/algorithm.php on line 34
當即時通訊使用xampp一切正常工作。
發佈完整的錯誤消息 - 它應該包含一個行號。然後發佈該代碼段。 – 2013-06-29 00:44:31
致命錯誤:調用未定義的函數dijkstra()在/home/a2515416/public_html/algorithm.php在第34行<---這個工作正常使用localhost xampp我的主機禁用了allow_url_include和allow_url_fopen – jake
看起來像文件algorithm.php在包含的文件中找不到'dijkstra()'函數。您確定本地系統上的所有文件都已上傳到您的ISP嗎? – 2013-06-29 00:58:25