[eluser]alrightythen[/eluser]
[quote author="Phil Sturgeon" date="1266957945"]You can't delete a URL, it has to be a path.
I just load the file_helper and run:
Code:
$dir = BASEPATH . 'somefolder';
delete_files($dir, TRUE);
unlink($dir);
[/quote]
you're right, thank you so much!