Paramiliar Design Studios Redefining Innovation and Excellence Design Services, website, build, cost effective, World Wide Web Consortium, browser compatability, website renovation

Client Login
Username
Password

What is PHP?

Posted By : mattyb 11th Apr 2007

What is PHP?

PHP stands for Hypertext Pre-processor and is a server-side language. This means that when a visitor opens the page, the server processes the PHP commands and then sends the results to the visitor's browser, just as with ASP. A typical PHP file will contain commands to be executed by the server in addition to the usual mixture of text and HTML (Hypertext Mark-up Language) tags. However, PHP is Open Source and cross-platform. PHP runs on Windows and many UNIX versions plus it can be built as an Apache module and as a binary that can run as a CGI.

When you type an URL in the Address box or click a link on a Web page, you're asking a Web server on a computer somewhere to send a file to the Web browser on your computer. If that file is a normal HTML file, it looks exactly the same when your Web browser receives it as it did before the Web server sent it. After receiving the file, your Web browser displays its contents as a combination of text, images, and sounds. In the case of a PHP page, the process is similar, except there's an extra processing step that takes place just before the Web server sends the file. Before the Web server sends the PHP file to the Web browser, it runs all server-side scripts contained in the page.

PHP Syntax

PHP's language syntax is similar to C's and Perl's. You don't have to declare variables before you use them, and it's easy to create arrays and hashes (associative arrays). PHP even has some object-oriented features, providing a helpful way to organize and encapsulate your code. Beyond its basic syntax, PHP also boasts a wide range of interfaces allowing it to communicate with everything from other web pages, to databases including MySQL, to other programming languages such as Java or COM. PHP goes right into your Web pages, so there's no need for a special development environment or IDE. You start a block of PHP code with <?php and end it with ?>.

What Can You Do With PHP?

There are many things you can do with PHP. You can display date, time, and other information in different ways. You can make a survey form and ask people who visit your site to fill it out. With PHP it is possible to access over 19 different types of databases and manipulate data within those databases based on input from the user via a web page. You can also send e-mail, create dynamic images, etc

About the Author:

Matthew Bagley is the owner of Paramiliar Design Studios
(http://www.paramiliar.com)
Working with many companies their aim is to give your business the online potential it deserves.
Visit http://www.paramiliar.com/articles.html to find more articles written by Paramiliar Design Studios

AddThis Social Bookmark Button


Comments

There are no comments for this article, why not be the first to comment by filling in the form below!
:@ :) 8) :'( :)
:) :) :) :) :)
:) :) :) :) X(
Name
Website URL
Article Rating
1 bad , 5 good

1

2

3

4

5
Verification
Verification
Comments

Navigation

About Us
Free Articles
Testimonials
Privacy Statement
Design
Design Services
Design Pricing
Design Examples
Free Designs
Paid Designs
Website Design
Coding Services
Scripting Prices
Free Scripts
Paid Scripts
Request Scripting
Search Engines
What is SEO?
SEO Services
Pricing
Pay Per Click
Link Exchange
Request Optimisation
Request Advice
Portfolio
About the Company
Our Portfolio
Website Development
Website Applications
Graphic Design
Flash Design
View Clients
Services & Tools
Business Support
Services List
Who Is?
Sitemap Generator
Site Popularity Report

Members

Login

Latest Articles

FreeIndex - UK Web Designers Directory Resources - Link Exchange