The PHP4 Scripting Language
For JavaScript users, PHP is an excellent transition language to server-side scripting. Now in Version 4 (or PHP4), PHP is officially named PHP Hypertext Preprocessor. The language was developed in 1994 by Rasmus Lerdorf as a server language for his “Personal Home Page,” so he called it PHP. It is now a program scripting language with many similarities to JavaScript, so you should find it relatively simple to master.
PHP generally runs as a mix of HTML and PHP. PHP files are saved in the web server’s root directory with the .php extension. The root directory varies with the setup of your system. If you are using your hosting service account, put your files into the root folder, and use your domain name as the root. ...
Get JavaScript Design now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.