php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #34457 fcut - removes byte from a file
Submitted: 2005-09-10 17:39 UTC Modified: -
Votes:3
Avg. Score:2.0 ± 1.4
Reproduced:0 of 1 (0.0%)
From: shadowturtle at vype dot de Assigned:
Status: Open Package: Feature/Change Request
PHP Version: 4.4.0 OS: windows xp home sp2
Private report: No CVE-ID:
Have you experienced this issue?
Rate the importance of this bug to you:

 [2005-09-10 17:39 UTC] shadowturtle at vype dot de
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
?>


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Fri Apr 18 20:01:57 2014 UTC