为什么在一台服务器上发生错误 500?我没有任何想法!
脚本 php:
<?php
require('simple_html_dom.php');
$html = file_get_html("//strona.pl/".$_GET['url'];);
$wynik= $html->find("klasa",0) ->innertext;
print_r($wynik);
?>
(错误 500) 这个脚本在我自己的 vps 上:斯克里普特.php
(合作工作)这个关于免费托管的脚本:安卓波兰.php
伙计,也许allow-url-fopen配置被禁用了。
http://php.net/manual/en/filesystem.configuration.php#ini.allow-url-fopen