#34457 [NEW]: fcut - removes byte from a file
| From: | shadowturtle at vype dot de | Date: | Sat, 10 Sep 2005 15:39:35 +0000 |
| Subject: | #34457 [NEW]: fcut - removes byte from a file | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-84827@lists.php.net to get a copy of this message | ||
From: shadowturtle at vype dot de
Operating system: windows xp home sp2
PHP version: 4.4.0
PHP Bug Type: Feature/Change Request
Bug description: fcut - removes byte from a file
Description:
------------
I want a function like fcut; Remove bytes from a file: Begin to Length.
fcut ( FileHandle, Begin, Length);
Sorry for my bad english. I comes from German (Europe).
Reproduce code:
---------------
<?PHP
// Content "plee.txt":
// abcdefghijklmnopqrstuvwxyz
$myfile = fopen( "plee.txt", 'r+' );
fcut( $myfile, 10, 5);
fclose( $myfile );
// New Content:
// abcdefghijpqrstuvwxyz
?>
--
Edit bug report at http://bugs.php.net/?id=34457&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34457&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34457&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34457&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=34457&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=34457&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=34457&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=34457&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=34457&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34457&r=support
Expected behavior: http://bugs.php.net/fix.php?id=34457&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=34457&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=34457&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=34457&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34457&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=34457&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=34457&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34457&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=34457&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=34457&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=34457&r=mysqlcfg