Webmaster Forum - SEO and Internet Marketing Forum - A Webmaster Community for better Web
Invite Your Friends
Go Back   Webmaster Forum - SEO and Internet Marketing Forum - A Webmaster Community for better Web > Design and Development > Programming > PHP
Reload this Page Beginners Guide To PHP!!!!!
PHP Discussions related to PHP, the most evolved programming language of the web.

PHP Thread, Beginners Guide To PHP!!!!! in Programming; What Is PHP? -------------------------------- PHP stands for Hypertext PreProcessor. It is a server-side scripting language. The PHP code can be ...
Reply
 
LinkBack Thread Tools Display Modes
(#1)
Old
WH Member
WH Tranee
marshtric is on a distinguished road
 
Posts: 37
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Join Date: Feb 2009
Default Beginners Guide To PHP!!!!! - 05-10-2009, 09:51 AM

What Is PHP?
--------------------------------

PHP stands for Hypertext PreProcessor. It is a server-side scripting language. The PHP code can be mixed in with regular HTML tags and parsed on the server. PHP first showed up in the form of a set of Perl scripts that the creator, Rasmus Lerdorf, used to manage his online resume. Later, it was adapted by Andi Gutmans and Zeev Suraski in 1997 to use a C-written compiler. It was an entire remake of Lerdorf's that turned PHP into the web language we know today.

What Can PHP Be Used For?
--------------------------------------------

PHP is used in the creation of dynamic web pages. It is popular among many web developers due to its fast parsing and flexibility. PHP is a popular tool for managing a form's data after it is submitted. It is also extremely versatile and comes built in with many different interfaces and API's. It has database capability built into the language, the most common database being MySQL. PHP can generally connect to any SQL enabled database.

What Is The Syntax Like?
--------------------------------------------------------------------

PHP is similar in structure to Perl and C. You use curly braces { }, to define blocks of code, and the semi-colon to specify the end of a statement. If you are familiar with Perl, then you should have no difficulty learning PHP. It maintains all the traditional loops, if/else, and subroutines that are expected in a programming language. One difference you will note is that the code is ?embedded in with the HTML, but you can use a seperate file instead. The PHP code is differentiated from HTML code by use of the <?php and ?> opening and closing tags. These tell the server that when it finds a PHP file, to scan through for these tags, and execute the code in between them. The server recognizes a PHP enabled file by it's extension, .php. These are essentially HTML files with PHP code in them.

_________
triathlon advice
sports betting software
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On



Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Copyright ©2007 - 2008, WebmastersHeart.com, A Webmaster forum, is a division of Intelliron