Admin wrote:

Here is the code I am using:


$fileHandle = fopen($fileUpload, "r");
$fileContent = fread($fileHandle, $fileUpload_size);
$fileContent = addslashes($fileContent);


Warning: fopen("C:\\00000-temp\\100_0078.jpg", "r") -No such file or directory in /var/www/testbed/httpdocs/blob/grabfile.php on line 41


Then only thing that really jumps out at me in the file source path of C:\\00000-temp\\100_0078.jpg there is a couple of extra Backslashes (\) in the path statement.

I am using a sample script that pulled from one of the websites.



Have you tried single forward slashes?


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to