S ybarite S olution
  helps you to achieve your needs..
FAQ: Frequently Asked Questions
1. What is PHP?
From the preface of the manual:
PHP which stands for "PHP: Hypertext Preprocessor" is an HTML-embedded scripting language. PHP was originally created by Rasmus Lerdorf in 1995 and has been in continuous development ever since. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly. PHP is free software released under the PHP License. PHP code is executed on the server, and the plain HTML result is sent to the browser.
2. Basic PHP Syntax:
A PHP scripting block always starts with < ?php and ends with ?>. A PHP scripting block can be placed anywhere in the document. The PHP engine processes everything between those tags. let we take an example of a simple PHP script which simply prints the text "Hello World" to the browser:
<html>
<body>
<?php
      echo "Hello World";
?>
</body>
</html>
3. What can PHP do?
Anything. PHP is mainly focused on server-side scripting, so you can do anything any other CGI program can do, such as collect form data, generate dynamic page content, or send and receive cookies. But PHP can do much more.

There are three main areas where PHP scripts are used.

* Server-side scripting. This is the most traditional and main target field for PHP. You need three things to make this work. The PHP parser (CGI or server module), a web server and a web browser. You need to run the web server, with a connected PHP installation. You can access the PHP program output with a web browser, viewing the PHP page through the server. All these can run on your home machine if you are just experimenting with PHP programming. See the installation instructions for more information.

* Command line scripting. You can make a PHP script to run it without any server or browser. You only need the PHP parser to use it this way. This type of usage is ideal for scripts regularly executed using cron (on *nix or Linux) or Task Scheduler (on Windows). These scripts can also be used for simple text processing tasks. See the section about Command line usage of PHP for more information.

* Writing desktop applications. PHP is probably not the very best language to create a desktop application with a graphical user interface, but if you know PHP very well, and would like to use some advanced PHP features in your client-side applications you can also use PHP-GTK to write such programs. You also have the ability to write cross-platform applications this way. PHP-GTK is an extension to PHP, not available in the main distribution. If you are interested in PHP-GTK, visit ยป its own website.
This forum is for training only. We do not warrant the correctness of its content. Before using any content please cross check it first. While using this site, you agree to have read and accepted our terms of use and privacy policy. Copyright 2005-2015 by Refsnes Data. All Rights Reserved.