I came across a website and liked its look. So, I wanted to know how its style.css is coded. I got there style.css file by visiting to Network Tab of Inspect Element and then opening that file in a new tab. We can open JS files also in the same way.
But, how can I open a PHP file? I know the directory where the PHP file of that website is located, but when I type that directory in the browser's address, it shows a blank page (full white blank page with nothing on screen), so I thought I need PHP installed on localhost.
So, alternatively, to get the PHP file, I downloaded that file and opened it in Sublime Editor, but there too, it shows blank.
So, how can I get that PHP file?
[Note: This is just a question for educational purposes. This thought suddenly came in my mind when I was going through that CSS file and just for the sake of my anxiety and knowledge, I'm asking this question. No offense or criminal minded tendency..]