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 (IMG:http://forum.php.pl/style_emoticons/default/sad.gif)
Go to the top of the page
+Quote Post

Posty w temacie


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

 



RSS Aktualny czas: 3.10.2025 - 07:06