May 16, 2008

What Is Php?

Free Web Hosting, No Ads > CONTRIBUTE > What Is...?
Pages: 1, 2, 3

free web hosting

What Is Php?

19163
I am a new starter. Who can tell me what is PHP?

Reply

MiniK
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/

 

 

 


Reply

Liam_CF
QUOTE
PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.

Reply

omarsdali
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.

Reply

suberatu
Just as a bit of trivia, PHP is an endless acronym, as it stands for 'PHP Hypertext Preprocessor'.

Reply

galexcd
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".

Reply

buddzph
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..

Reply

hitmanblood
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.

Reply

[John]
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

Reply

hitmanblood
QUOTE([John] @ Feb 19 2008, 11:42 PM) *

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


Some experience though I must note still limited had learned me that too many languages is producing only problems. And furthermore it is not needed to have strict coding because it is important to keep zour site to the brwoser compatibility and not in fact strict though many people consider strict code as compatible but many times if you try to check it out even if your code is strict you might have problems with code however the point also is that you want to allow your site to be viewable by as may users possible however the thing is that you must consider compatibility this is the thing I hold usually when coding

And best combination to combine is to use javascript then css html php and mysql.

javascript for modification of the page in real time without almost without communication with server. Under javascript I consider ajax also that is the reeason for the almost there biggrin.gif

css for the basic look and feel of the page site or however you like to conside rit. And also it is better to use this then to modify with ccss then with the html tags since it is easier to modify and change page afterwards or to make more templates and so on.

html. as basic for the organization of all elements in the page and everything else for providing outputs from the php ad so on.,,.

php as server side scripting opposite to teh javascript sinve with this you can manipulate all bunch of the things like logins sessions registrations very different data and so on. Almost everything you think.

mysql ought to be used for communication between php and database server and to pull out and send data inot databases. The rgeat engine though there are some misuses like sql injections.

Reply

Latest Entries

Absolute Zer0
PHP is a web language, like HTML, Javascript, and CSS. You use it for dynamic content, in other words, content that is added, removed, etc., without having to reupload a page. It's good to also know MySQL in conjunction with PHP, as they work well together. PHP is harder than HTML, but it can do a LOT more... I wanna learn it... laugh.gif

Reply

Ufaweb
QUOTE(19163 @ Jan 1 2008, 06:39 PM) *
I am a new starter. Who can tell me what is PHP?

Goto http://php.net rolleyes.gif

Reply

azri92
php is another web langunge programing...
same like html but php is more powerfull than html..FOR me

Reply

pugboy
Knew it was server sided, but never knew of the many acronyms tongue.gif

Good info smile.gif

Reply

tricky77puzzle
QUOTE
PHP = PHP Hypertext Preprocessor


I believe it means "Prepreocessed Hypertext Programming".

But, yes, PHP is a server-side scripting language that allows you to view pages' output without displaying the source code. This is especially useful if you have a trade-secret script (for example, this forum's credit system) that you don't want anyone to see.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Pages: 1, 2, 3
Similar Topics
Looking for php,

Searching Video's for php,
advertisement



What Is Php?



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE