Re: note 9642 added to unlink
| From: | J. M. Castagnetto | Date: | Fri, 17 Nov 2000 00:30:25 +0000 |
| Subject: | Re: note 9642 added to unlink | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7795@lists.php.net to get a copy of this message | ||
Unlink replicates the same functionality as the unlink
function in the standard libraries for your OS, check
the man page. What you are trying to do is *not* what
the function is intended for, the underlying unlink
implementation does not do globing.
Your note will be removed.
--- benf@inatos.com wrote:
> unlink() returns file not found when the filename
> contains wildcards
>
> system("rm whatever.*") is fine.
>
> (php 3.0.12 on Linux)
>
> http://www.php.net/manual/function.unlink.php
>
>
> --
> PHP Notes Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> php-notes-unsubscribe@lists.php.net
> For additional commands, e-mail:
> php-notes-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>
=====
--- Jesus M. Castagnetto (jcastagnetto@yahoo.com)
__________________________________________________
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/