01-30-2008, 08:43 AM
[eluser]GreenDude[/eluser]
I tried to use the unlink() function but I get an error I don't understand.
Any ideas why? I am aware that this might be a newbie-ish problem :)
I tried to use the unlink() function but I get an error I don't understand.
Code:
$filestring = base_url().'uploads/'.$row->filename.$row->ext;
unlink ( $filestring );
Quote:A PHP Error was encountered
Severity: Warning
Message: unlink() [function.unlink]: http does not allow unlinking
Filename: controllers/face.php
Line Number: 109
Any ideas why? I am aware that this might be a newbie-ish problem :)