Re: unlink() & rmdir() ... Problems.
| From: | PHP Junkie | Date: | Tue, 24 Aug 2004 18:37:25 +0000 |
| Subject: | Re: unlink() & rmdir() ... Problems. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-194621@lists.php.net to get a copy of this message | ||
Ave,
IT WORKS!!!
I guess it was the syntax which was the problem! Finally it works!!
system("rm -rf $user_dir", $ret_val);
Works perfectly... Removes folder!
Thanks a TON!
On 8/24/04 2:04 PM, "Jason Wong" <php-general@gremlins.biz> wrote:
> Please do not top post.
>
> On Wednesday 25 August 2004 01:31, PHP Junkie wrote:
>> Ave,
>>
>> Nope... Didn't work. Didn't return an error or anything, didn't delete the
>> folders either!
>
>>>> system('rm -rf',$user_dir,$ret_val);
>
> That should be:
>
> system("rm -rf $user_dir", $ret_val);