man5 Posted February 18, 2014 Share Posted February 18, 2014 So here I was trying mkdir function with 0777 permissions. Everything worked fine. However when it came to delete the images in the directory, it won't let me. I have a 404 error page set up and it takes me to that page after i click delete. I had a backup of the this project before i added mkdir. So I went back to it and it's still taking me to the 404 error when deleting an image. While on 404 page; in the address bar, it's still shows the id of the file to be deleted. For eg. http://localhost/project/delete.php?id=199 Can someone explain to me what is going on? Link to comment https://forums.phpfreaks.com/topic/286279-weird-cant-delete-records-from-database-all-of-sudden/ Share on other sites More sharing options...
man5 Posted February 18, 2014 Author Share Posted February 18, 2014 LOL! Found the problem. I renamed my delete.php file and forgot to update it in upload.php. Silly mistake. It's all good now. Link to comment https://forums.phpfreaks.com/topic/286279-weird-cant-delete-records-from-database-all-of-sudden/#findComment-1469333 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.