Welcome Guest, Not a member yet? Register   Sign In
file delete problem
#8

[eluser]rubai[/eluser]
thanks. it works nicely.
may be delete_files() cannot delete single file.
but in a previous post one says:
Quote:Hey. I’m trying to write some code that deletes an image from a server. I’m using this code but for some reason it won’t delete the file:

delete_files(base_url().'images/'.$type.'/'.$info[0]->image);

Now the URL works fine, if I print an <img> tag with that URL then it displays the image. But for some reason it just won’t delete it
and others reply him. for this i think it is possible to use delete_files() for deleting single file.

to 座頭市:
if you not interested then must ignore posts.


Messages In This Thread
file delete problem - by El Forum - 07-25-2007, 12:33 AM
file delete problem - by El Forum - 07-25-2007, 12:48 AM
file delete problem - by El Forum - 07-25-2007, 01:08 AM
file delete problem - by El Forum - 07-25-2007, 01:30 AM
file delete problem - by El Forum - 07-25-2007, 01:38 AM
file delete problem - by El Forum - 07-25-2007, 01:47 AM
file delete problem - by El Forum - 07-25-2007, 01:59 AM
file delete problem - by El Forum - 07-25-2007, 02:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB