I have a PHP file for my back-end side of project and I upload it inside of my Dropbox. and the problem is when I copy the link of that file inside my browser, it shows the code of the file instead of run it. I tried to change the link to dl.dropboxusercontent/
as some similar problems suggest that but same thing happen.
can anyone help me with this?
You can not access the file directly. PHP code needs to be compiled. If you are using Windows WAMP device, you will run the server and log in via http Unlike PHP, running HTML is directly on the browser so you see your HTML "code"
see: https://www.makeuseof.com/tag/how-to-set-up-your-own-wampserver/