PHP 5 Introduction
What You Should Already Know
Before you continue you should have a basic understanding of the following:
HT!
"SS
#avaScri$t
%f you want to study these sub&ects first' find the tutorials on our Ho(e $age)
What is PHP*
PHP is an acrony( for +PHP Hy$erte,t Pre$rocessor+
PHP is a widely-used' o$en source scri$ting language
PHP scri$ts are e,ecuted on the server
PHP costs nothing' it is free to download and use
PHP is an amazing and popular language!
%t is $owerful enough to be at the core of the biggest blogging syste( on the web .WordPress/0
%t is dee$ enough to run the largest social networ1 .2aceboo1/0
%t is also easy enough to be a beginner3s first server side language0
What is a PHP 2ile*
PHP files can contain te,t' HT!' "SS' #avaScri$t' and PHP code
PHP code are e,ecuted on the server' and the result is returned to the
browser as $lain HT!
PHP files have e,tension +)$h$+
What "an PHP 4o*
PHP can generate dyna(ic $age content
PHP can create' o$en' read' write' delete' and close files on the server
PHP can collect for( data
PHP can send and receive coo1ies
PHP can add' delete' (odify data in your database
PHP can restrict users to access so(e $ages on your website
PHP can encry$t data
With PHP you are not li(ited to out$ut HT!) You can out$ut i(ages' P42
files' and even 2lash (ovies) You can also out$ut any te,t' such as 5HT!
and 5!)
Why PHP*
PHP runs on various $latfor(s .Windows' !inu,' 6ni,' ac 7S 5' etc)/
PHP is co($atible with al(ost all servers used today .A$ache' %%S'
etc)/
PHP su$$orts a wide range of databases
PHP is free) 4ownload it fro( the official PHP resource: www)$h$)net
PHP is easy to learn and runs efficiently on the server side