Re: Delete files via PHP
| From: | Miguel Br�s | Date: | Fri, 31 Jan 2003 19:23:35 +0000 |
| Subject: | Re: Delete files via PHP | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-133817@lists.php.net to get a copy of this message | ||
Hey, thx for your speech
In a matter of fact, I have 2 books about PHP and all they say about the
unlink function (I use it in my upload system) is that it is suposed to
force the delete of the temporary file that it is created during the upload
process.
So, i was never thinking that the unlink fuction was able to do it.
Sorry for thge trouble
Miguel
"Øyvind vestavik" <Oyvind.Vestavik@idi.ntnu.no> escreveu na mensagem
news:Pine.GSO.4.40.0301311641490.23242-100000@furu.idi.ntnu.no...
Read the manual first. If you can't find it, search the net (google is a
great place to start). If you still can't find it, _then_ ask on the list.
I had no idea how to do this, but it took me 30 sec to find out, and I'm a
newbie.
http://no.php.net/manual/en/function.unlink.php
vennlig hilsen
Øyvind
On Fri, 31 Jan 2003, Miguel Brás wrote:
> Hi guys,
>
> I made a upload file's script and it works fine.
>
> No, I wanna create a page where it will display the directory content and
> will let me delete any file standing there.
>
> Is there any way to use php for that? Where can I get info about it?
>
> BTW, I have PHP/MySQL working on a Linux system
>
> Thx in advance
> Miguel
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>