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, 10 Feb 2012

view this page in

delete

deleteunlink()unset() を参照してください

説明

void delete ( void )

この関数はダミーの関数エントリであり、間違った場所で 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 | stats | sitemap | contact | advertising | mirror sites