December 19, 200817 yr i need help to find i script, i dont exactaly know the name it would come under, i have been deveoping a image upload site www.imagebooth.net its up and its working good, but, to delete peoples photos, iv had to setup a email form were they can enter the id of the image for example sdjabdnjadwjawdbkjawd.jpg and i will go and delete it, i was wondering if there was a script or a simple line of code that would make a box and a delete button, so they could simply put in sdjabdnjadwjawdbkjawd.jpg and hit delete and it would remove the image out of the folder on the server, it would be great so i didnt have to go around and do it manually. thanks,
December 19, 200817 yr This might point you in the right direction http://www.webdeveloper.com/forum/showthread.php?t=164845 Pat
December 24, 200817 yr Hello, the link above is useful but i still want to try my solution <?php $Pic=$_POST['Pic']; $Path='\Image-Store-Folder\'.$Pic; if (!file_exist($Path)){ echo "This file isn't exist on our server"; } else { unlink ($Path); echo "The file should be deleted !"; } ?>
Create an account or sign in to comment