What Can You Do with PHP?

Just about anything. PHP is mainly focused on server-side scripting, so you can do anything any other CGI program can do, such as collect form data, generate dynamic page content, or send and receive cookies. But PHP can do much more.

What Can You Do with PHP:

  1. Server-side scripting. This is the most traditional and main target field for PHP. You need three things to make this work. The PHP parser (CGI or server module), a web server and a web browser. You need to run the web server, with a connected PHP installation. You can access the PHP program output with a web browser, viewing the PHP page through the server. All these can run on your home machine if you are just experimenting with PHP programming. See the installation instructions (php.net) section for more information.
  2. Command line scripting. You can make a PHP script to run it without any server or browser. You only need the PHP parser to use it this way. This type of usage is ideal for scripts regularly executed using cron (on *nix or Linux) or Task Scheduler (on Windows). These scripts can also be used for simple text processing tasks. See the section about Command line usage of PHP (php.net) for more information.
  3. Writing desktop applications. PHP is probably not the very best language to create a desktop application with a graphical user interface, but if you know PHP very well, and would like to use some advanced PHP features in your client-side applications you can also use PHP-GTK to write such programs. You also have the ability to write cross-platform applications this way. PHP-GTK is an extension to PHP, not available in the main distribution. If you are interested in PHP-GTK, visit » its own website (php.net).

PHP can be used on all major operating systems, including Linux, many Unix variants (including HP-UX, Solaris and OpenBSD), Microsoft Windows, Mac OS X, RISC OS, and probably others. PHP has also support for most of the web servers today. This includes Apache, IIS, and many others. And this includes any web server that can utilize the FastCGI PHP binary, like lighttpd and nginx. PHP works as either a module, or as a CGI processor.

So with PHP, you have the freedom of choosing an operating system and a web server. Furthermore, you also have the choice of using procedural programming or object oriented programming (OOP), or a mixture of them both.

With PHP you are not limited to output HTML. PHP’s abilities includes outputting images, PDF files and even Flash movies (using libswf and Ming) generated on the fly. You can also output easily any text, such as XHTML and any other XML file. PHP can autogenerate these files, and save them in the file system, instead of printing it out, forming a server-side cache for your dynamic content.

One of the strongest and most significant features in PHP is its support for a wide range of databases. Writing a database-enabled web page is incredibly simple using one of the database specific extensions (e.g., for mysql), or using an abstraction layer like PDO, or connect to any database supporting the Open Database Connection standard via the ODBC extension. Other databases may utilize cURL or sockets, like CouchDB.

PHP also has support for talking to other services using protocols such as LDAP, IMAP, SNMP, NNTP, POP3, HTTP, COM (on Windows) and countless others. You can also open raw network sockets and interact using any other protocol. PHP has support for the WDDX complex data exchange between virtually all Web programming languages. Talking about interconnection, PHP has support for instantiation of Java objects and using them transparently as PHP objects.

PHP has useful text processing features, which includes the Perl compatible regular expressions (PCRE), and many extensions and tools to parse and access XML documents. PHP standardizes all of the XML extensions on the solid base of libxml2, and extends the feature set adding SimpleXML, XMLReader and XMLWriter support.

And many other interesting extensions exist, which are categorized both alphabetically and by category. And there are additional PECL extensions that may or may not be documented within the PHP manual itself, like » XDebug.


PHP is EVERYWHERE

There are a lot of reasons to know and love PHP, probably the most potent and valid of which is this: it’s used and runs EVERYWHERE the web does. Your cheap little $3 per month hosting account may let you run a web application in Python or Ruby if you shop carefully. But it’ll definitely run PHP. This means that you can count on it wherever you are.

And because it runs everywhere, and is easy to get started with, a lot of very popular software is written in PHP. WordPress is the example that’s both largest and most familiar to me, but tools like Joomla, Drupal, Magento, ExpressionEngine, vBulletin (yep, that’s still around), MediaWiki, and more are all running PHP on the server.

And there are more PHP application frameworks than you can shake a stick at as well: Symfony, Zend, Laravel, Aura, CakePHP, Yii, and even the venerable CodeIgnitor. Surely you can make a list of web frameworks of some length for almost any other language. And for the commonly used web languages like Python, Ruby, or Node/JavaScript you may even be able to amass a numerically competitive list. But the sheer volume of sites running PHP is immense.

WordPress proudly boasts that it powers more than 30% of the internet. You don’t need to even trust that fact to realize that a lot of the internet must be using PHP if that fact is even conceivably true.

Object-Orientation with (Great) Package Management is now the Norm in PHP


And bad ideas can make it through that crucible. The most popular example is that PHP 5.3 — separately widely regarded as the first modern version of PHP — introduced the goto statement, which is generally either scoffed at or thought an easy source for errors.

Similarly bad thing in PHP that have resulted from the process through which the language has grown: object-orientation was first implemented as a flawed and limited concept, the standard library is full of inconsistent names and parameter ordering, and (in an example that recently got a fair amount of attention) the :: token is called by the interpreter by the inscrutable-to-English-speakers: T_PAAMAYIM_NEKDOTAYIM.

But today, OOP is fully-realized in PHP. Few languages have as much Java-like OOP practice than PHP. What’s more, unlike Java, PHP has a single and widely-love package manager, called Composer. It was very good, and so the ease of pulling in other well-written and well-maintained libraries in PHP is nothing to be trifled with.

PHP Has Gotten a Lot Faster

But those thing said, PHP is evolving in interesting ways. It’s growing toward being a pretty fully-featured Java-like (for better or worse) object-oriented language. And much like Java, it’s gaining easy abstractions for functional programming — arguably the current hotness. It’s also growing a pretty awesome set of tools — PHP loves Composer, and for good reason — and a commendable effort to make all of these large open source projects in PHP work a little bit better together.

Oh, and we shouldn’t forget the current hotness: speed gains PHP has made in the PHP 7 series of releases. This is widely regarded as having been initiated by the HHVM coming out of Facebook. For a short time, there was a risk that the speed of the HHVM would fracture the PHP community. But it didn’t. Instead PHP just got so much faster that people have mostly forgotten that the HHVM exists.


php
what is php
what is php used for
php programming
php language
what does php stand for
.php
php programming language
what is php code
use php
what does php do
.php file
php uses
how to use php
php coding
php scripting
what is php program
what is a php file
php stands for
php scripting languages
php script language
ph programming language
information php
php code
what is php script
what is php code
what is php?
php progrmming
what is php for
php progamming
php develpment
php uses
hello world php
what is .php
what is php programming
why use php
php devlopment
phpdevelopment
php development
what is a php script
uses of php
what is php server
what is a php
what is php language
what is php coding
php meaning
php prgramming
php explained
what’s php
<?php
what is php programming language
what is php scripts
what is php program
php means
purpose of php
what does php do
php introduction
what is php files
php is used for
uses for php
why using php
programming php
why is php used
php contain
programming in php
php scripting language
php what is
php scripting languages
php intoduction
.= php
php coding language
php software
is php a programming language
whats php mean
what is php script
php server side
php .=
php program
what are php scripts
php stand for
what are php files
php used for
php app
php?
how does php work
php languages
php programing
php files extension
php web
and in php
what does php mean
using php
php computer language
what is php file
php scripts
purpose of php
php “??”
about php
php full form
php codes
what is a .php file
using php in html
phps
what can php do
php programming example
coding php
what is php for
what is .php file
what is a php script
for php
what can you do with php
what is php scripting
what is a php website
is php a scripting language
php hello world
program php
what does php stand for?
php files
first php program
.php meaning
use php
what is php programming used for
php tag
php program example
php and html
what php stands for
how to program in php
when was php created
what is php server
php mean
php definition
what php
what does mean in php
php and or
how to write php
whats php
php programing examples
php <?=
php language example
php explained
php developments
php what is it
php !
php ? :
what is a .php
what does .php mean
why is php used
why php
php do
what does $ mean in php
<?php ?>
php is used for
what type of language is php
php php software
what is php stand for
php programming code
$ php
php.in
php programs example
php example coding
php example code
detail php
php overview
php scripting examples
hello world in php
php web programming
php coding example
programming in php
what are .php files
php website program
php programing language
php is _________ scripting language
what is php used for in web development
what is php stands for
php developer means
php in computer science
php $
php ?
php srand
when to use php
php used for
programming language php
coding in php
php intro
language php
php use
php program examples
php in html
php usage
what does :: mean in php
php programs
use php in html
php serverside
php @
php web program
php program language
php ??
php pages
php programming languages
is php server side
introduction to php
what are php scripts
whats php stand for
what is .php?
what does php stand for in programming
what’s a php file
how does php work with html
php simple codes
where is php used
php writing
php technology
php for beginners
basic php code
what is a php program
php codes examples
how to coding in php
what is php software
how to use php in html
whats php mean
what language is php
my php com
php hello world code
phpcode
php server side script
which of the following is an example of a task performed by a server-side script?
php application
php is a scripting language used to
php personal home page
what is php programming used for
how to write php code
php server side scripting
php script example
what is php web development
phppage
write php
php as
php //
whats a php file
what is a php file?
php for biginners
php for beginner
php :
php processor
php codings
php work
php information
php developed
for in php
#NAME?
php hello world example
php computers
php with
what is php extension
php !===
php internet
“.=” php
what is php file extension
php for begginners
php programming examples
meaning of php
in php means
php abbreviation
php coding examples
php developer definition
.php?
understanding php
server side script language
what is php good for
php.
?? php
php !!
phpsyntax
php helloworld
php applications
write php script
php …
php coding program
server side php
php]
how to write php script
scripting vs coding
cheap php programming
php web page
php %
write php code
php what does it stand for
php://
a.php
simple php program
php basic programs
php “.=”
,php
what does -> mean in php
php.com
php example programs
php full name
php and
how to make a php website
sample php file
server side scripting in php
what is .php format
php helps
hypertext preprocessor
php tutorials for beginners
meaning in php
embedded php in html
develop php
sample php code
php.app
php sample program
simple php code
php ends with
what does php stand for in programming
who developed php
php ::
a server dedicated to managing html pages is called a(n):
example of php code
files containing java code must end with what “extension”?
programming script
php program tutorial
writing php
php code sample
php summary
php hypertext preprocessor
php home page
php hypertext processor
basic php file
how to write a php script
php writer
html in php file
php beginners
create php file
write php scripts
what is .= in php
php beginner
basic php syntax
php script in html
in php code
example.php
php vs net
features of php
simple php script
php code software
php begginers
programming vs scripting
php-website
who uses php
php programing software
what is .php extension
the php
php tag in html
php features
php platform
php html coding
embedded php
php 1
php scripts in html
is php good
basic php page
php for in
php file extension
me php
server-side scripting language
html in php
how to use php script
php web pages
what does mean php
write php in html
is php interpreted
how to write php in html
html meaning computer
php tutorials for beginners with examples
php interpreted
php server script
php scripts example
php vs jsp
how to create php file
server side programs
scripting language definition
php works
the php syntax is most similar to
javascript is a ____ programming language.
scripting languages vs programming languages
script definition computer
is php compiled
.php file extension
script programming language
php beginner tutorials
php beginners tutorials
serverside scripting language
what does .= mean in php
simple php page
script in php
php scripts examples
php homepage
mobile php
php developing
what language are websites written in
hypertext processor
coding vs scripting
php preprocessor
php web browser
scripting language vs programming language
learn php in a day
script computer definition
html is a language
html scripting language
php language tutorial
php basic syntax
net vs php
how to use a php file
website using php
php example page
learn php for beginners
the php syntax is most similar to:
is php installed
phpscripts
php programming software
is html a scripting language
simple php file
how to start a php file
php code in html
files containing java code must end with what extension
website scripting
php web page example
what does basic stand for
how to use php with html
server side programming language
php website code
php html codes
script programming
____ refers to programming using a scripting language that is executed from a web server.
html with php
php management
how to use php files
introduction to php pdf
server side scripting language
sites that use php
how to write html in php
how to create a php file
php examples for beginners
define scripting
php page example
php example pages
php programming for beginners
www php com
html stands for
which of the following is a free, open source scripting language?
what is a script in programming
what does html stand for
web script language
write html in php
server programming language
websites that use php
open php tag
php apps
.php websites
scripting vs programming vs coding
file extension php
what does scripting mean
sample php script
server scripting language
what is the difference between php and html
php term
php expand
server programing
is php still used
php market share
advantages of php
what script is this
html in php code
what does script mean in computer terms
what is html code used for
define scripting language
php technologies
php script examples
programming html
what is the purpose of using javascript on a website
asp vs jsp
page php file
php tags in html
websites scripts
what are scripts in coding
php for programmers
web script languages
embed php in html
who uses php
what does first stand for
not php
scripting language means
what is scripting in computer terms
programming vs scripting language
contains php
php tasks manager
php echo hello world
php server tutorial
make php website
what does a stand for in html
what’s the program
php coding help
jsp vs php
php instruction
what are scripts in programming
type of php
files containing java code must end with what “extension”
features of php
script computer science
#NAME?
php or
is xml a scripting language
most used program
php within html
why scripting languages are used
html stand for
php make file
website scripting languages
php advantages
php world
server side scripting languages
.= in php
php vs asp
what websites use php
scripting programming languages
web programming definition
what does html stand for and what is it
php if colon
what are scripts in computer programming
server side programming tutorial
open a php file
php in html file
what is script in programming
how to embed php in html
web server language
create php website
php language server
mysql file extensions
what are scripting language
php in browser
a-php
php html tags
how to see php code in browser
scripting vs programming
computer script example
php web page examples
server side scripting definition
what does o.s. stand for in a script
what is scripting
php syntax
whats html code
php file types
web scripting language
asp net market share
php <?=
php in html files
how to make php file
php include page
jsp vs asp net
php file output
php and mysql for dynamic websites pdf
ares smite guru
serverscript
how to write a scripting language
embed php file in html
useful php scripts
how to write a program description
script meaning in computer
how to add php to html
what is the purpose of an application file
net vs java market share
write php code online
php vs asp net
java vs net market share
including php in html
programs that interpret html to display a webpage are called
phpsupport
side language
which of the following is the most commonly used server-side scripting language?
mysql file extension
what is a scripting language used for
how to create a scripting language
web server languages
html script language
viewing php files in browser
my php number
server side application examples
php acronym
server programming
asp scripting language
how popular is php
what are scripting languages used for
client side scripting definition
script type php
php coding samples
php include script
how do you open a php file
scripting vs programming language
php statement
programming language vs scripting language
script language
opening php files in browser
what language does google scripts use
advantages of scripting languages
serve php
what does php do
asp vs php
how to link a php file to html
what is used
meaning of scripting
how to write a program script
asp.net versus php
what does html stand for?
how to write a computer script
sample php page
which php
php question mark colon
what do html mean
active server pages definition
javascript to php
html is used for what purpose
php vs asp.net
opening php file in browser
server side program
whats an html
server side programing
aphp crystal
what do we use
asp php
require in php
server side programming languages
html tags are instructions for a browser.
php vs jsp
call php file from html
php testing script
php code in html file
php form processor script
programming languages vs scripting languages
php testing page
create a php page
programming language market share
how is html used
php application structure
php vs .net
php for
php define
programming means
html tag for comment
php file structure
php test script
jsp php
what does % mean in coding
<i> html
opening a php file in browser
client side programming languages
define script
simple scripting language
define freeware
php $server
how to run php program
php medical abbreviation
coding scripts
html writing program
what does script do
what is used to
what does html stand for in computer terms
iis market share
php show code in browser
run php in html
php script testing
open php file in browser
html tags in php
buy a-php usa
php serve file
computer script writing
php to
where to code html
ki live codes
what does server side mean
what is a php developer
what is ‘ used for
best php scripts
php vs.asp.net
what is a scripting language vs a programming language
what is php developer
what is # used for
how to test php code in browser
asp.net vs php
how to type in html
server side scripting vs client side scripting
how to open php files in browser
how to put html in php
programming language vs markup language
how to open .php file in browser
how to open .php
server-side programming languages
how to call php file in html
what do html stand for
best places to learn php
.net vs php
asp to php
what is ” used for
open php files in browser
client side scripting vs server side scripting
define: script
php web server
scripting language vs programming
scripting vs compiled language
freeware definition computer
what is – used for
script stand
what does :: mean in php
what does echo do in php
personal home pages
php include code
server side software
different scripting languages
why is used
where is php installed
tiny scripting language
asp net vs php
compile php code
php get file extensions
share html code online
php generate html
php code testing
scripts computer
server side coding
server side language
building php websites
what are scripting languages
php idea
what type of code ends with 99
html scripts
go vs php
what language are web pages written in
define programing
all scripting languages
what is used for
difference between scripting and programming
how to test php code without server
how to run a php file
server side scripts
open source php scripts
what does mean in coding
server side script
where it is used
hello world in different languages
what is a program?
html is used to create
server-side languages
embedding php in html
how to include html in php
computer server stands
html basic syntax
what does mean in programming
world 1st language
php versus
what is : used for
website file extensions
scripts code
php programmers
define sides
first computer programme
asp computer language
tag php
what is a scripting language
pp extension
what does ! mean in coding
explain server
for-php
in a flowchart, the ______________is used to indicate the beginning and the end of a program.
difference between programming language and scripting language
embedded scripting language
hello world different languages
asp file extension
servers php
most used scripting languages
how to run a php file in browser
htlm code
what does web stand for
what does % mean in programming
php for the web
mysql market share
run php script online
test my php code
useful programs to write
things to program
yous net
difference between scripting language and programming language
what is the difference between scripting and programming
how to run php in html
html is
execute php code online
html files must end with an extension of
net scripting language
purpose of syntax
hai stands for
juno.com personal start up page
test php in browser
html basic structure
asp stand for
what are websites coded in
php uses
what does the acronym html stand for
.php extension
php development software
coding and scripting
client side languages
php use statement
php write to database
asp or php
execute php in html
how to use syntax
a web-based introduction to programming
php scripting
scripting software
php blog scripts
what use
is python a programming language or a scripting language?
php instructions
what php stands for
mean program
what does com stand for in computer terms
script php
how to embed processing in html
php template systems
explain website
information php
write php
creating a scripting language
in programming what does mean
basic language syntax
run php code in browser
what is php programming
how to write in a different language on facebook
program php
hello world in many languages
php !!
php tags
php %
what php
what is a .php
php server side script
write php in html
where is php used
what is .php extension
php script
scripting language
program define