Have u tried fopen($image,"rb")???
Ignatius
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 17, 2001 2:44 PM
Subject: [PHP-WIN] truncating of file in fopen.
> 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
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]