Home » Archive

Articles in the PHP Category

PHP »

[6 Nov 2009 by Keshav Shetty | No Comment | 8,298 views]

Introduction to php
Install and setup php development environment (for MS Windows)
Chapter 1

PHP »

[6 Nov 2009 by Keshav Shetty | One Comment | 5,501 views]

In web development using PHP, it is normal practice to include php codes into html using special tag “<?php” e.g:
<html>
<head></head>
<body>
<?php echo ‘Wlecome to php’; ?>
</body>
</html>
When this file is requested by the browser an web aware server recognizes “<?php” tag and understands that it needs to be interpreted by php, so it will pass it to php interprester,
php interpretor will execute and translates all php code and generates resuting html back to web server. Web server will combine the static html and php interprested html and serves the client.
So you might …

PHP »

[6 Nov 2009 by Keshav Shetty | No Comment | 4,262 views]

The PHP Hypertext Preprocessor.
The initial version PHP was written by Rasmus Lerdorf in 1995 and known as PHP/FI i.e Personal Home Page / Forms Interpreter.
Over the period of 15 years PHP evolved into major and great language for web development, latest 5.0+ version supports object model.
Today it is preferred language for data-driven web application, its popularity grown to such an extent that today it is hosted over 30 million web site which accounts for over 20% of the domains on the Internet
For the complete history visit php history
As free lancer …

PHP »

[6 Nov 2009 by Keshav Shetty | 2 Comments | 7,865 views]

In order to start development with php you need three components

Database (I prefer Mysql)
Web server (I prefer Apache)
PHP interpreter

I assume you are using MS Windows for your development.
First download and install MySql from MySql 5.0 downloads
Next download and install Apache from Apache 2.2 downloads
Next download and unzip php to say c: from PHP 5.2 download
Some additional steps

Copy php.ini-recommended as php.ini in your PHP installation directory
In new php.ini file update the properties extension_dir = “c:\php\ext\” (I assume that you extracted php to c:\php folder – if it is different update your …