HOME
PHP
Introduction Php Installation
PHP Basic Scripts
PHP variables
PHP operators
PHP Conditional statement
PHP functions
PHP Arrays
PHP Objects & classes
PHP with Forms
PHP Files
PHP With Database
PHP session
PHP cookies
PHP Regular Expressions
PHP Server Environment
PHP Graphics
PHP Advance
|
What is PHP?
PHP is a powerful server-side scripting language for creating dynamic and interactive websites.PHP BEGAN AS A SIMPLE MACROS REPLACEMENT TOOL.It is originally conceived as aset of macros to help a coders maintain personel home pages,and its aname grew its purpose.Then PHP capabilities have been extended ,taking it beyound a set of utilities to a full featured programming language,capable of managing huge database driven online environemnts.
PHP officially know as Hypertext Processor.It is aserver side scripting language usually written in HTML
context.unlikean ordinary HTML page,a PHP script is not directly to a client are left alone,it is prased by the PHP binary or
executed.PHP code has abilities to query database,create images,read-write files,talk to remote server
What makes php better than its alternatives
PHPPHP is better compared to others because -
It is faster to code and faster to execute.
- the PHP code runs unaltered on different web server and different operating systems.
- PHP are free.any one visit the PHP website and download
- PHP runs on UNIX,Windows 98,Windows NT,Macintosh.
- PHP iS designed to integrate with apache web server.which is also free.
- PHP is modifiable.
- support for PHP is free and readily available.
what a PHP script looks like
A PHP scripting block always starts with <?php and ends with ?>. A PHP scripting block can be placed anywhere in the document.
On servers with shorthand support enabled you can start a scripting block with <? and end with ?>.
but better to use <?php and end with ?>
|
|
|
|