What is Php ? Introduction

PHP is a server scripting language, and a powerful tool for making dynamic and interactive Web pages. PHP is a widely-used, free, and efficient alternative to competitors such as Microsoft's ASP.

introduction of php


PHP files can contain text, HTML, CSS, JavaScript, and PHP code. PHP code is executed on the server, and the result is returned to the browser as plain HTML. Php files always have the extension of “.php”.

Uses of PHP:

  • We can generate dynamic page content with the help of PHP.
  • We can create, Open, Read, Write, Delete and close files on the Server with the help of PHP.
  • We can collect form data (Online Admission forms, Registration Forms, Contact Us form) with the help of PHP.
  • PHP can also send and receive cookies.
  • We can Add, Delete, Modify data our database with the help of PHP.
  • PHP can be used to control user-access.
  • And last PHP can also Encrypt Data.

Why we use PHP?

  • We can run PHP on various platforms like Windows, UNIX, Linux, Mac OS X, etc.
  • PHP language is compatible with almost all servers which are used nowadays like Apache, IIS etc.
  • It can support a wide range of database.
  • PHP is totally free. It can be downloading from his official site www.php.net.
  • It also easy to learn and runs efficiently on the server side.

How PHP code looks ?


                                 CODE                                                                    RESULT









Muhammad Yasir

Phasellus facilisis convallis metus, ut imperdiet augue auctor nec. Duis at velit id augue lobortis porta. Sed varius, enim accumsan aliquam tincidunt, tortor urna vulputate quam, eget finibus urna est in augue.

Related Posts:

No comments:

Post a Comment