Learn PHP Tutorial in Hindi Part 1 Introduction

This tutorial is made for learning about Introduction of Php in Hindi.

PHP Introduction

? PHP is a scripting language embedded in HTML.

? PHP stands for Personal Home Page (old full form).

? PHP now stands for PHP Hypertext Preprocessor.

? PHP is used to create dynamic web pages.

? PHP documents end with .php extension.

? Used for server side scripting.

? PHP can be embedded with html.

? PHP is open source.

PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.

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.

The best things in using PHP are that it is extremely simple for a newcomer, but offers many advanced features for a professional programmer. Don’t be afraid reading the long list of PHP’s features. You can jump in, in a short time, and start writing simple scripts in a few hours.

What is a WAMP, MAMP, or LAMP?

• WAMP is abbreviations for “Windows, Apache, MySQL, and PHP”
• MAMP is abbreviations for “Mac, Apache, MySQL, and PHP,”
• LAMP is abbreviations for “Linux, Apache, MySQL, and PHP.”
• These abbreviations describe a fully functioning setup used for developing dynamic Internet web pages.

What is WAMP?

WAMP or WampServer is a compilation of Apache web server, PHP and MySQL bundled for Windows computers. Basically, you need WAMP to setup your own local server environment and install WordPress on Windows. There are other clients for Windows such as XAMPP, but we use and recommend WAMP. It is free and easy to use.
Installing Wampserver on your PC

First thing you need to do is go to WampServer website and download the latest WampServer. You will be presented with various options on their download page. Simply choose the one that applies to your Windows (64-bit or 32-bit). When in doubt, select the 32-bit version because it will work on 64-bit versions of Windows.
Once you have downloaded WampServer, run the installation program and follow on-screen instructions. At one point during the installation, WampServer will ask for the location of the default web browser. By default it will use Internet Explorer, but you can change that to Google Chrome or Firefox by locating the browser in Program Files.

PHP Introduction

PHP is a scripting language embedded in HTML.

PHP stands for Personal Home Page (old full form).

PHP now stands for PHP Hypertext Preprocessor.

PHP is used to create dynamic web pages.

PHP documents end with .php extension.

Used for server side scripting.

PHP can be embedded with html.

PHP is open source.

PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.

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.

Format of PHP program

• PHP documents end with the extension .php .

• When a web server encounters this extension in a requested file, it automatically passes it to the PHP processor.

Comments in PHP

There are two ways in which you can add comments to your PHP code.

• A single line comment by preceding it with a pair of forward slashes.

• A multiple-line comment by using the /* and */ pairs of characters to open and close comments.

PHP Introduction

PHP is a scripting language embedded in HTML.

PHP stands for Personal Home Page (old full form).

PHP now stands for PHP Hypertext Preprocessor.

PHP is used to create dynamic web pages.

PHP documents end with .php extension.

Used for server side scripting.

PHP can be embedded with html.

PHP is open source.

PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.

Format of PHP program

• PHP documents end with the extension .php .

• When a web server encounters this extension in a requested file, it automatically passes it to the PHP processor.

source