Edit report at https://bugs.php.net/bug.php?id=62800&edit=1
ID: 62800
User updated 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: Irrelevant
+PHP Version: Newest version of PHP
Block user comment: N
Private report: N
New Comment:
fixed php version
Previous Comments:
------------------------------------------------------------------------
[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