Hi,im curious that are there any tools that some people can used to see my php codes of my web pages? Thanks!
No, for as long as your webserver is configured correctly they will all be parsed accordingly and hence be transparent. I was once successfull in getting some site's PHP files because they made the stupid mistake of renaming their old files index.php.old - which are then downloadable. So unless you screw up, there's no way of getting the contents. Hacking into the server is probably easiest if they really want the code.
I've seen a lot of people name files config.inc and so forth, most servers won't parse it if accessed independant from the page it is included from. It is much better practice to use config.inc.php, yourclass.class.php, etc.
No, you'll never see php in source code of a web page in your browser. What you see in browser is HTML, which is created from PHP. The browser interprets PHP and render HTML.
Thanks for that monty, I'm trying to learn as much about PHP as possible at the moment, I am thinking about buying some scripts and want to be sure I understand how it works.
If you want to learn PHP, there is no better way that to make your own scripts rather than to buy them. Especially to understand how it works. Takes more time but it's more rewarding.
Yea, after you learn some PHP, you will find that most of the stuff done by the scripts you bought could have been done by yourself quite easily. Some good places to learn are http://www.w3schools.com and http://www.codewalkers.com and http://www.phpfreaks.com . Thomas