Page 1 of 1

Distinction of PHP

Posted: Sat Mar 10, 2012 9:09 am
by Matt J. Kirby
What distinguishes PHP from something like client-side JavaScript is that the code is executed on the server, generating HTML which is then sent to the client. The client would receive the results of running that script, but would not know what the underlying code was. You can even configure your web server to process all your HTML files with PHP, and then there's really no way that users can tell what you have up your sleeve.

Re: Distinction of PHP

Posted: Sat Mar 10, 2012 10:03 pm
by Doug G
True, but php was not the first code to run in the web server environment. PHP is just one of many technologies available to web developers.