php webpage

f0x

New Member
hi, is it possible to view index page of admin for a simulated php web page ,,, for like admin/index.php , is it possible to view ? if it is how ?
 

Homenet

Member
Wait, what? PHP is a server side language, so as soon as you hit the php page, the server runs the code and sends you the HTML output. So no, without access to the file storage of the server the website is hosted on, you cannot view the contents of the PHP file itself.
 

bomatt

New Member
Wait, what? PHP is a server side language, so as soon as you hit the php page, the server runs the code and sends you the HTML output. So no, without access to the file storage of the server the website is hosted on, you cannot view the contents of the PHP file itself.

He is correct. When you go to 'view source' you will only see html.

This is sometimes a small reason why people use PHP, so people can't steal/use/copy whatever you want to call it.
 
Top