Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

viewing php


ghost's Avatar
0 0

Hey i forgot how to view the php file of a website… lol

so if i have

www..com/.html

and then it checks the validity with a php file

www..com/.php

what do i add to see the php?


ghost's Avatar
0 0

php is server side scripting, you cant normally see it… or if your trying to view the page, not the source, then yes, its blah.com/blahh.php


richohealey's Avatar
Python Ninja
0 0

you say i forgot to make it sound smooth.

but if you knew enough php to actually interpret what you were reading you would realise that you CAN'T view the php of a page with the URL bar, unless the page happens to be vulnerable to posion null byte, or you have a LFI exploit.


ghost's Avatar
0 0

And wtf…

If a file is index.html then index.php would either bring up a 404 error or a different page.


ghost's Avatar
0 0

i know there is a php option that lets people share their php online, but i doubt the webmaster of the site your trying to comprimize does that. odds are good you wont get google's code either. they worked a bit on it