Welcome Guest, Not a member yet? Register   Sign In
How to Delete image from server
#1

[eluser]Sawariya[/eluser]
Hai Friends

I am storing images in server folder.. and image file name in database.
how can i delete that image which i have uploaded. we can delete image from server folder??
plz help me...
#2

[eluser]xwero[/eluser]
you have to use unlink()
#3

[eluser]Phil Sturgeon[/eluser]
If you dont want to set server permissions on that image/folder you can also try connecting to your own server with the FTP class and delete it that way.
#4

[eluser]Sawariya[/eluser]
hi thepyromaniac,
can you explain me more about that.......


thank you
#5

[eluser]tobben[/eluser]
Like xwero told, you can use "unlink".

http://no2.php.net/unlink




Theme © iAndrew 2016 - Forum software by © MyBB