Let us take a look at the history of PHP. Rasmus Lendorf was the creator of PHP language.
What Does PHP Stand for
PHP stands for PHP Hypertext Preprocessor; however, Personal Home Page is also abbreviated as PHP commonly.
Error Handling in PHP
• Return status of the function is checked
- ‘die’ statement is used to print error message on to the terminal and to terminate
• eg:
- sql_select_db($dbName) or DIE(“Table unavailable”);
• error_log :
- is used to log errors
Features of PHP
- supports Cookies
- Handles file uploads
- Session Management
- Handles Database Connections
- HTTP authentication
Websites that run on PHP
- www.php.org
- linuxjournal.org
- sony.com
- nokia.com
AltaVista survey Results on web scripting languages popularity
- ASP – 48%
- PHP – 30%
- JSP & others- 22%
Google search stats for server pages
- ASP – 205,000,000
- PHP – 256,000,000
- JSP – 26,300,000
Leave a comment