Jump to content
php.lv forumi

dabuut sveshu txt failinju


strong-storm

Recommended Posts

kas notiek ja aizvāc " no "$fails" --> $atvert = fopen ($fails, "r");

un $fails ="http://***.ru/xxx.txt; pieliek galā " --> $fails ="http://***.ru/xxx.txt";

lasi error log'us tur būs kļūdu apraksti

<?
$fails ="http://***.ru/xxx.txt";

$atvert = fopen ($fails, "r");

$saturs = fread($atvert, filesize($fails));

fclose($atvert);
echo $saturs
?>

Edited by loderis
Link to comment
Share on other sites

×
×
  • Create New...