This is a discussion on fopen po http - obsluga bledow ? within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Witam wszystkich mam cos takiego $url = fopen ("http://192.168.10.4/xxx.php", "r"); while ($...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Witam wszystkich
mam cos takiego $url = fopen ("http://192.168.10.4/xxx.php", "r"); while ($buff = fread ($url, 1024)) $txt .= $buff; fclose ($url); eval ('?>'. $txt .'<?'); zasadniczo jest tak - ze jest dobrze ! - ale jesli cos nie tak jest z http://192.168.10.4/xxx.php - np jest wylaczony to serwer wypluje cos takiego Warning: fopen(http://192.168.10.4/xxx.php, "r") - No error in C:\FoxServ\www\bhmd_2004\test5.php on line 3 Warning: fread(): supplied argument is not a valid File-Handle resource in C:\FoxServ\www\bhmd_2004\test5.php on line 8 Warning: fclose(): supplied argument is not a valid File-Handle resource in C:\FoxServ\www\bhmd_2004\test5.php on line 10 a wolal bym zeby wyplul np komunikat typu - "nic z tego" zakladamy ze nie mam wplywu na raportowanie bledow przez php po stronie serwera :o( |
![]() |
| Thread Tools | |
| Display Modes | |
|
|