| | I am a new starter. Who can tell me what is PHP? |
|
|
|
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/
QUOTE PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.
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.
Just as a bit of trivia, PHP is an endless acronym, as it stands for 'PHP Hypertext Preprocessor'.
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".
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..
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.
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!
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! 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 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. Latest Entries
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...
php is another web langunge programing...
same like html but php is more powerfull than html..FOR me 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. |
|
![]() 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 |
|