View
1.185
Download
0
Category
Tags:
Preview:
Citation preview
PHP For Beginners
PHP is an open source object oriented programming language.
PHP is server side scripting language. Easy to learn. Syntax similar to C language. Easily embedded into HTML to create
dynamic web page contents.
About PHP
Website development. Command line scripting. Writing desktop applications.
Use of PHP
Linux. Microsoft Windows. Mac. And many others.
Operating Systems
Apache . Microsoft Internet Information Server. And many others.
Webserver Support
Outputting XHTML and XML files. Outputting images, pdf files, Flash
movies, etc.
Abilities of PHP
MySQL MS-SQL InterBase Oracle SQLite PostgreSQL And many others.
Database Support
PHP supports Open Database Connection standard.
Easily connect to database supporting these standards.
ODBC Support
String functions Array functions Date functions Math functions
Large Number of Built-In Functions
Joomla Drupal Coppermine Photo Gallery Wordpress Blog
Popular Open Source Applications
Popular Frameworks
Cake PHP Zend Framework Symfony CodeIgniter
www.yahoo.com www.facebook.com www.amazon.com www.digg.com www.wikipedia.org
Popular Sites Using php
How To Use PHP
Download from http://www.php.net/downloads.php
Use XAMPP or WAMP which has Apache, MySQL and PHP in built.
Installation
Scripting block starts with <?php and ends with ?>
Example
Syntax
Use // for single line comment /* */ to make large comment block. Example<?php
//This is a comment
/*This isa commentblock*/
?>
Comments in PHP
Start with $ sign follwed by variable name.
Variable name starts with (_) underscore or letter.
Example : $name, $_name, etc
Variables
Popular Sites to Learn PHP
http://www.php.net/manual/ http://www.tuxradar.com/practicalphp http://www.homeandlearn.co.uk/php/
php.html
http://www.wikipedia.org PHP Manuals
References
Recommended