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, 18 Sep 2009

view this page in

delete

deleteВижте unlink() или unset()

Описание

void delete ( void )

Това е фиктивно описание, което има за цел да удовлетвори хората, които търсят unlink() или unset() на погрешното място.

Връщани стойности

Няма връщана стойност.

Вж. също

  • unlink() - Изтрива файл за изтриване на файлове
  • unset() - Унищожава дадена променлива за изтриване на променливи



add a note add a note User Contributed Notes delete
Alessandro Pastore 08-Jul-2011 09: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 04:02
to delete file u can use this script

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

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