![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 1 Pomógł: 0 Dołączył: 21.11.2009 Ostrzeżenie: (0%) ![]() ![]() |
Witam,
Mam problem z funkcją filesize. Oto kod: Kod <html><head><title>Otwieranie pliku</title></head> <body bgcolor="lavender"> <?php $filename = 'http://192.168.1.50/test.txt'; $filehandle = fopen($filename, 'rt'); $contents = fread($filehandle, filesize($filename)); print "<pre>$contents</pre>"; fclose($filehandle); ?> </body> </html> Wynik na ekranie:
Po wybraniu [function.filesize] na w/w warrningu otrzymuję:
Ten sam kod na serwerze lokalnym działa prawidłowo. Co jest źle ustawione na serwerze zewnętrznym ? Krzysiek |
|
|
![]() ![]() |
![]() |
Aktualny czas: 21.08.2025 - 21:37 |