Re: [PHP] fopen errors

2004-02-19 Thread John Nichel
Hunter, Jess wrote: Thanks for the reply, you are right, the file is going on a Linux box, but the source file is located on the client computer (windoze). You cannot open a remote file by using it's directory path on the remote system. The two ways to do this would be to a) (recommended) open

[PHP] fopen errors

2004-02-18 Thread admin
I have a PHP front end with a MySQL back end with a longblob field. I am thinking the problem exists in the PHP part. Here is the code I am using: $fileHandle = fopen($fileUpload, r); $fileContent = fread($fileHandle, $fileUpload_size); $fileContent = addslashes($fileContent); Then it goes

Re: [PHP] fopen errors

2004-02-18 Thread John Nichel
admin wrote: I have a PHP front end with a MySQL back end with a longblob field. Okay? I am thinking the problem exists in the PHP part. Probably not. Here is the code I am using: $fileHandle = fopen($fileUpload, r); $fileContent = fread($fileHandle, $fileUpload_size); $fileContent =

[PHP] Fopen errors out when opening a URL

2002-07-16 Thread Conover, Ryan
I am trying to do a simple fopen(http://www.weather.com/index.html;, r); For some reason I cannot Open any URL's after trying several. I get the following error Warning: stat failed for Resource id #1 (errno=2 - No such file or directory) I checked my php.ini to make sure I set the fopen

Re: [PHP] Fopen errors out when opening a URL

2002-07-16 Thread Analysis Solutions
On Tue, Jul 16, 2002 at 11:08:19AM -0400, Conover, Ryan wrote: I am trying to do a simple fopen(http://www.weather.com/index.html;, r); For some reason I cannot Open any URL's after trying several. Warning: stat failed for Resource id #1 (errno=2 - No such file or directory) If you're