NOTES

PHP

PHP IS A powerful scripting language that fits gracefully into HTML and puts the tools for creating dynamic websites in the hands of the people — even people like me who were too lazy to learn Perl scripting and other complicated backend hoodoo. This tutorial is for the person who understands HTML but doesn’t know much about PHP. One of PHP’s greatest attributes is that it’s a freely distributed open-source language, so there’s all kinds of excellent reference material about it out there, which means that once you understand the basics, it’s easy to find the materials that you need to push your skills.

INTRODUCTION.

PHP is a program that gets installed on top of your web server software. It works with versions of Apache, Microsoft IIS and other server software packages. You use PHP by inserting PHP code inside the HTML that makes up your website. When a client (anybody on the web) visits a web page that contains this code, your server executes it. That’s why you need to install your own server in order to test PHP locally — the server is the brain here, not your browser. Users don’t need any special plug-ins or anything to see your PHP in action — it gets to the end user as regular old-fashioned HTML.

PHP is a scripting language, like HTML. That means that code does not need to be compiled before it gets used — it gets processed on the fly as necessary.

So, what kinds of things can PHP do? Welllll … it can:

  • Take info from web-based forms and use it in a million ways (store it in a database, create conditional pages depending on what the forms said, set cookies for later, send e-mail, write your mom on her birthday);
  • Authenticate and track users;
  • Run threaded discussions on your site;
  • Serve different pages to people using different browsers or devices;
  • Publish an entire website using just a single layout template (server-side includes-style);
  • Serve XML pages.

But before we can get to the specific uses of PHP, we need to start with a quick preview of the building blocks of PHP, beginning with a sample script. This example script is titled “chickenman.php.” When called by a web browser, it would simply read, “I am the CHICKEN MAN!” Read More....

If You Want More Notes of any Subjects Please Connect us

Our Email ID :- info@a2zpapers.com

 

 

About

pix

We provide GNDU question papers, PTU question papers, PU question papers, LPU question papers, GNA university question papers, PSEB question papers, HPSEB question papers, ICSE question papers and CBSE question papers What sets the team A2ZPAPER.COM apart from others is that it provides the stream, subjects and semester wise classification of question papers for ease of use and access. This can prove to be an ultimate and handy resource for effective preparation of university and state examination board.....

read more

Terms and Conditions

By using the information available through this site and downloading any question paper, you are agreeing to the terms and conditions contained herein. This site is not associated with the question papers it provides for download and cannot be held liable for issues or faults that arise from their download or use .

read more

Image Gallery

ad ad ad ad ad ad

Contact Info

Phone: +91-110-2536804
Address: 14 Hind Rd, Near GNDU, Delhi
E-mail: info@a2zpapers.com