note 105685 added to manual
| From: | niraj00kumar at gmail dot com | Date: | Wed, 07 Sep 2011 13:38:55 +0000 |
| Subject: | note 105685 added to manual | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-183001@lists.php.net to get a copy of this message | ||
PHP BASICS
PHP (Hypertext Preprocessor) is an open source, server-side, HTML embedded scripting language used
to create dynamic Web pages. PHP script is embedded within a HTML document and the programmer can
jump between HTML and PHP seamlessly within the document while the code remains inaccessible to
users since it is processed on the server. It combines the power of CGI scripting with the ease of
working within HTML.
PHP offers several key advantages:
⢠Cross-platform operability
⢠Compatibility with a wide variety of databases
⢠Support for most current web servers
⢠Communicates with numerous network protocols
⢠Not limited to HTML output
⢠Strong text processing capabilities
Assuming you have an operating system and Web server setup on your server, PHP installation is
fairly easy. Essentially you need to install the PHP processor and have your server associate .php
files with it. PHP.net has detailed installation instructions for UNIX/Linux, Windows, and Mac OS on
its Web site.
Once you have PHP installed, all you need to do is place your php files in your Web directories and
the server will automatically parse them when someone points their web-browser to that page.
Getting Started with PHP Pages
The one thing that holds true regardless of the technology you work with is this: the infamous
"hello world" is the way to get started. In PHP, our "hello world" would look as
follows:
----
Server IP: 64.71.164.2
Probable Submitter: 2002:31cb:b9c3::31cb:b9c3
----
Manual Page -- http://www.php.net/manual/en/manual.php
Edit -- https://master.php.net/note/edit/105685
Del: integrated -- https://master.php.net/note/delete/105685/integrated
Del: useless -- https://master.php.net/note/delete/105685/useless
Del: bad code -- https://master.php.net/note/delete/105685/bad+code
Del: spam -- https://master.php.net/note/delete/105685/spam
Del: non-english -- https://master.php.net/note/delete/105685/non-english
Del: in docs -- https://master.php.net/note/delete/105685/in+docs
Del: other reasons-- https://master.php.net/note/delete/105685
Reject -- https://master.php.net/note/reject/105685
Search -- https://master.php.net/manage/user-notes.php