It says you can see it only if you have access to the server. Why is that? And can I view it if I hire a web hosting site?
Why can%26#039;t you see the PHP code like you do with HTML?
PHP was made to hide. It is run on the SERVER side not the CLIENT (your pc) computer. It processes scripts, input, etc. and sends HTML or whatever back to your computer from the server.
If you sign up for a website account, you could see it, but only the scripts you put on there, not other website%26#039;s scripts.
You need to write your own PHP code or get some from off the internet. There are many sites out there that give tutorials or give free scripts out.
Signing up for a website hosting account WON%26#039;T let you magically see other people%26#039;s PHP scripts.
Added: You can do it in notepad, then upload it to the server. First, though, I%26#039;d worry about learning how the internet and programming works first before worrying about coding PHP or HTML.
Why can%26#039;t you see the PHP code like you do with HTML?
I only have 300 characters to reply, so I can%26#039;t say much here. Email or IM me to discuss more if you want. Report It
Other Replys:you mix it right in with your html code in notepad while writing your pages
Other Replys:HTML code is %26quot;translated%26quot; by the browser. The client side.
php code is interpreted on the server side and the resulting HTML is sent to the client%26#039;s browser, so you see the HTML result of the php page, not the php code itself.
No comments:
Post a Comment