Re: truncating of file in fopen.
| From: | Ignatius Teo | Date: | Fri, 18 May 2001 09:35:30 +0000 |
| Subject: | Re: truncating of file in fopen. | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-7716@lists.php.net to get a copy of this message | ||
Have u tried fopen($image,"rb")???
Ignatius
----- Original Message -----
From: <pratap.ladhani@processbiz.co.in>
To: <php-windows@lists.php.net>
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: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>