Re: id3 - problems with php_stream_truncate_set_size()
| From: | Carsten Lucke | Date: | Fri, 18 Jun 2004 16:50:41 +0000 |
| Subject: | Re: id3 - problems with php_stream_truncate_set_size() | ||
| References: | 1 2 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-862@lists.php.net to get a copy of this message | ||
Hi,
I tried ftruncate() now and it seems to work very good. Thanks!
Let's see what Wez thinks, which function I should finally use.
Regards,
Carsten
Antony Dovgal wrote:
There is no php_stream_truncate_set_size() in PHP4, as I can see. Take a look at it's implementation in plain_wrapper.c, I suppose you can do something similar in PHP4 with usual ftruncate(). But better ask Wez firstly, he should know the best way as the King of Streams [tm] =) --- WBR, Antony Dovgal aka tony2001 tony2001@phpclub.net || antony@dovgal.com