[thelist] PHP & Fopen() errors....

CDitty mail at redhotsweeps.com
Tue Mar 11 17:28:14 CST 2003


Thanks, but I just looked at the detail for this.  This was about caching 
and reflects to version 4.0.0.  Thank you for looking.

Chris


At 04:31 PM 3/11/2003, you wrote:
>Christopher Ditty wrote:
>
>>I asked this question on the PHP list and didn't get any feedback. 
>>Hopefully someone here can help.
>>
>>I seem to be having a problem with fopen on apache 1.3.27/php 4.3 
>>servers.  Scripts that worked before and on other servers do not work
>>on this one.
>>
>>Warning: fopen(XXXXXXXXXXXXXXXXXXXXXX) [function.fopen]: failed to
>>create stream: Invalid argument in /path/to/script/import.php on line 30
>>
>>This is the code around line 30.....
>>$local_file = $feed;
>>$fp = fopen($local_file, "r");
>>
>>This is being pulled from a http site. The site and the link are both
>>correct and working. Replacing $feed with the actual url doesn't help.  I 
>>have looked over the manual
>>and the only thing I could find similar to this is in the comments.
>Chris, there is a php 4 bug list at:
>http://www.zend.com/lists/php-dev/200301/msg00666.html
>There are a number of active bugs for the fopen() function. Seeing as you 
>are opening a url for parsing / saving / whatever, could this actually be 
>a php engine bug related to you?
>(Bug report below)
>Number   Status      Description
>
>6701    Open    Use of http_proxy for fopen("http:// ...
>
>I have not yet been able to find a more detailed description of the bug 
>and any possible workarounds yet...
>
>--
>------------------------------
>         Paul Bennett
>         Internet Developer
>         Teltest Electronic Design
>------------------------------
>Email: paul at teltest.com
>Phone: 64 4 237 4557
>Web: http://www.teltest.com
>Wap: http://wap.teltest.com
>
>
>--
>* * Please support the community that supports you.  * *
>http://evolt.org/help_support_evolt/
>
>For unsubscribe and other options, including the Tip Harvester and 
>archives of thelist go to: http://lists.evolt.org Workers of the Web, evolt !



More information about the thelist mailing list