Edit report at https://bugs.php.net/bug.php?id=62800&edit=1
ID: 62800
Comment by: brandonskypimenta at gmail dot com
Reported by: brandonskypimenta at gmail dot com
Summary: Creating/modifying/deleting files in PHP
Status: Open
Type: Feature/Change Request
Package: *General Issues
Operating System: all
PHP Version: Newest version of PHP
Block user comment: N
Private report: N
New Comment:
All text in this bug is copyrighted by Brandon Sky, released under CC-BY 3.0.
Previous Comments:
------------------------------------------------------------------------
[2012-08-12 07:25:39] anon at anon dot anon
>© 2013
Did you just copyright your inability to read documentation?
------------------------------------------------------------------------
[2012-08-12 01:32:49] brandonskypimenta at gmail dot com
fixed php version
------------------------------------------------------------------------
[2012-08-12 01:31:05] brandonskypimenta at gmail dot com
fixed title
------------------------------------------------------------------------
[2012-08-12 01:29:43] brandonskypimenta at gmail dot com
Description:
------------
Any way to create files, delete files, modify files in PHP using these commands?
create_file creates a file.
modify_file edits a file's text.
delete_file immediately deletes a file. WARNING: Deletion will be permanent!
-----------------------------------------------------
© 2013
Test script:
---------------
<?php
create_file('FooBar.txt', 'Test');
modify_file('FooBar.txt', '-Test|+FooBar', '1');
delete_file('FooBar.txt');
?>
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62800&edit=1