Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Problem Z Fread, error
fedorowiec
post
Post #1





Grupa: Zarejestrowani
Postów: 3
Pomógł: 0
Dołączył: 24.08.2004

Ostrzeżenie: (0%)
-----


Staram się wczytać za pomocą php plik .txt:
Kod
<?php
$access="hits.txt";
if (($fh =fopen($access,"rb"))!=NULL)
{
$plik =fread($fh,filesize($fh));
print($plik);
fclose($fh);
}
?>

I mam taki komunikat:
Warning: stat failed for Resource id #1 (errno=2 - No such file or directory) in C:\FoxServ\www\licznik2.php on line 5 sad.gif
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 21.08.2025 - 10:20