downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

dirname> <copy
[edit] Last updated: Fri, 25 May 2012

view this page in

delete

(None)

delete参见 unlink()unset()

说明

void delete ( string $file )

这是个虚构的手册条目来给那些本来是找 unlink() 或者 unset() 的人提供一些有用的信息。

参见 unlink() 来删除文件,unset() 来删除变量。



add a note add a note User Contributed Notes delete
Alessandro Pastore 09-Jul-2011 03:53
On my slackware 13.0, php-5.2.11
The directory wich contain files must be owned by apache user, the files (obviously) they have to be apache writable
abye81 at yahoo dot com 04-Aug-2010 10:02
to delete file u can use this script

<?php
$filename
= "myfile.txt";
unlink($filename);
?>

 
show source | credits | sitemap | contact | advertising | mirror sites