In message <[EMAIL PROTECTED]>, saminor2002
<[EMAIL PROTECTED]> writes
>Hi Guys,
>I am trin to delete a folder using Unlink but it couldnt be done so due 
>to some error i dont understand. it says Access Denied/Permission 
>Error. I have no mistake in the path of the folder I want to delete, 
>but i kept on gettin that message. What could be the cause? Any 
>suggestion is great.
>
>Happy xmas season,
>
>Sam

unlink() is used to delete files.  

You need rmdir() to remove folders.  

And they must be empty first.

There are examples of subroutines for emptying folders then deleting
them in the manual.
http://es2.php.net/unlink

-- 
Pete Clark

Sunny Andalucia
http://hotcosta.com/Andalucia.Spain

Reply via email to