i came across website , liked look. so, wanted know how style.css coded. got there style.css file visiting network tab of inspect element , opening file in new tab. can open js files in same way.
but, how can open php file? know directory php file of website located, when type directory in browser's address, shows blank page (full white blank page nothing on screen), thought need php installed on localhost.
so, alternatively, php file, downloaded file , opened in sublime editor, there too, shows blank.
so, how can php file?
[note: question educational purposes. thought came in mind when going through css file , sake of anxiety , knowledge, i'm asking question. no offense or criminal minded tendency..]
it´s not possible. php files executed on server side , can´t downloaded html files.
more information on can found here:
stackoverflow: can client view server-side php source code?
can steal php script without hacking server?
security.stackexchange.com: possible hacker download php file without executing first?
Comments
Post a Comment