Welcome Guest ( Log In | Register)



3 Pages V   1 2 3 >  
Reply to this topicStart new topic
> What Is Php?
19163
post Jan 1 2008, 12:39 PM
Post #1


Newbie
*

Group: Members
Posts: 1
Joined: 1-January 08
Member No.: 55,561



I am a new starter. Who can tell me what is PHP?
Go to the top of the page
 
+Quote Post
MiniK
post Jan 1 2008, 02:22 PM
Post #2


Advanced Member
*******

Group: Members
Posts: 111
Joined: 29-September 07
From: United Kingdom
Member No.: 50,853



PHP is a popular programming and scripting language created to add dynamic functionality to websites and to provide a way for websites which use a web-based database to store and retrieve information remotely.

PHP syntaxes always start with:
CODE
<?php


And end with:
CODE
?>


PHP files have a file extension of .php, .php3, .php4, .php5 - or, if you would like to create a PHP file in which the information is not processed, and the source code displayed, simply change the file extension to .phps

If you would like to display certain information, use the echo function.

CODE
<?php
echo "INFORMATION";
?>


will display:

QUOTE
INFORMATION


For more info and examples, go to http://www.w3schools.com/php/
Go to the top of the page
 
+Quote Post
Liam_CF
post Jan 1 2008, 02:22 PM
Post #3


Super Member
*********

Group: Members
Posts: 403
Joined: 14-October 07
From: ERROR 404
Member No.: 51,575



QUOTE
PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.
Go to the top of the page
 
+Quote Post
omarsdali
post Jan 1 2008, 04:31 PM
Post #4


Member [Level 1]
****

Group: [HOSTED]
Posts: 74
Joined: 2-June 07
Member No.: 44,080



PHP is a server side scripting language, it's like javascript but the only diffrence between them is that javascript is a client side language. Server side means the code is executed on the server the the output is sent to the browser, so no one sees your source code. Client side means that the code is executed by the browser, so the code can be seen by everyoone.

If you want to learn php just go to w3schools.org and read the lessons they have over there, if you already know another programming language like me, it will be very easy and you will be writing php code in no time.

You can't test your php code just by opening it in the browser, you have to either uploaded it to a hosting account or install a webserver on your pc ( IIS or Apache) if you understood what server side means you'll know why.
Go to the top of the page
 
+Quote Post
suberatu
post Jan 1 2008, 07:47 PM
Post #5


Advanced Member
*******

Group: Members
Posts: 132
Joined: 23-September 07
Member No.: 50,511



Just as a bit of trivia, PHP is an endless acronym, as it stands for 'PHP Hypertext Preprocessor'.
Go to the top of the page
 
+Quote Post
galexcd
post Jan 3 2008, 07:02 AM
Post #6


PROGRAMMER(prō'grăm'ər)- n. An organism that converts caffeine into software.
*********

Group: [HOSTED]
Posts: 903
Joined: 25-September 05
From: The dungeon deep below the foundation of trap17
Member No.: 12,251



QUOTE(suberatu @ Jan 1 2008, 11:47 AM) *
Just as a bit of trivia, PHP is an endless acronym, as it stands for 'PHP Hypertext Preprocessor'.


Yes but I believe the PHP in PHP does not stand for PHP Hypertext Preprocessor, if I recall it stands for 'Personal Home Page', so the full length acronym would be "Personal Home Page Hypertext Preprocessor".
Go to the top of the page
 
+Quote Post
buddzph
post Jan 3 2008, 08:14 AM
Post #7


Newbie [Level 1]
*

Group: Members
Posts: 16
Joined: 26-December 07
Member No.: 55,280



PHP = PHP Hypertext Preprocessor..

It is a language which is free to use... i think.. but powerful.. Using PHP, you can create websites, backends for your websites or we can call it CMS.. The popularity of PHP is increasing because of its expanding usage..
Go to the top of the page
 
+Quote Post
hitmanblood
post Jan 3 2008, 11:48 PM
Post #8


Privileged Member
*********

Group: [HOSTED]
Posts: 696
Joined: 13-April 07
Member No.: 41,558



as everyone almost exlained more or less things about php. I will say this. It is languuage or script that is executed on the server instead of the browser this way yuou can implement many nice features like dynamic websites and so on. It is really easy for use howeveer some features I personally dislike very very much. Such as that php is not type strict language and this leads to many mistakes however on the other hand I like arrays and way they were implemented in the php it is really helpful.

Also I'd like to suggest book php and mysql from the o'reilly this is really good puclisher and you should lear mysql because it will help you much as it is database language and you can male even better sites with it and many many more things. Good luck.

P.S. just for the end php doesn;t have to be used for site programming you can use it as any other language if you run it in the console.
Go to the top of the page
 
+Quote Post
[John]
post Feb 19 2008, 10:42 PM
Post #9


Newbie [Level 2]
**

Group: Members
Posts: 32
Joined: 19-February 08
Member No.: 58,129



PHP is basically a server-side scripting language which allows you to add dynamic content to your website. It makes the server complete all the calculations of your code allowing you to add features to your site like the time, math functions, database connectivity and much more. Combined with html and css and you have yourself the best weapon on the web. A great coder can effectively utilize all three if not 5 or more languages on a page while keeping it xhtml/css strict. Good luck in your web development! smile.gif
Go to the top of the page
 
+Quote Post
hitmanblood