truncating of file in fopen.

From: Date: Thu, 17 May 2001 04:44:42 +0000
Subject: truncating of file in fopen.
Groups: php.windows 
Request: Send a blank email to php-windows+get-7657@lists.php.net to get a copy of this message
I have a small script which opens an image file (gif/jpeg) and converts it to binary format. My problem is that the script runs perfectly well in my local machine. But when I upload it to the server and try to parse the same image file on the server, it is truncated in between only.. I do not seem to understand why it happens. My local machine is a Win 98 and the server is a Win 2K Server. Any body if faced such a problem before and might have found out a solution please suggest directions.. Thanks to all in advance. Pratap Ladhani

« previous php.windows (#7657) next »