The best way to prevent any potential conflicts you may have with viewing your scripts would be to run through a local server.
I would recommend XAMPP
Once you are done with the setup, go to your C drive -> XAMPP and store all your files within the htdocs directory.
To run it, you type:
http:// localhost/your_filename in your web browser.