fopen and PHP 4.3.x

From: Date: Tue, 11 Mar 2003 03:43:49 +0000
Subject: fopen and PHP 4.3.x
Groups: php.general 
Request: Send a blank email to php-general+get-139075@lists.php.net to get a copy of this message
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. The web host recently upgraded both php and apache. Below is the error..... 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"); Anyone have any ideas? I have looked over the manual and the only thing I could find similar to this is in the comments. Apache was restarted. CDitty

« previous php.general (#139075) next »