javascript - changes and deleting of a php file hosted locally
A PHP web application hosted locally on XAMPP does not accept changes or deletion of its files.
Whenever I make changes to a code in the file and run it , the browser displays the changes, but after a refresh, the changes are reversed.
i tried to delete the file or other files, but they come back when i refresh the pages.
I made changes to some codes in the files, and after saving them, the changes appeared just once in the browser. After refreshing the page again, all changes are reversed back to the old state. i tried deleting those particular files but it returns like it never happened.
Can someone help with a solution please? Thank you.
Answer
Solution:
Maybe it is a permissions problem in your local XAMPP.
Did you try these actions on a server? I remember that sometimes the act of deleting doesn't work in my local project but when I test it on the online server works correctly.
I hope that this info helps you.
Kind regards
Source