What Can PHP Do

What Can PHP Do?

PHP is in particular targeted on Server-Aspect Scripting, so that You can do Some thing any other CGI application can do, inclusive of gather shape statistics, generate dynamic web page content, or send and get hold of cookies. However Hypertext Preprocessor can do lots more.

There are THREE Foremost Areas wherein PHP scripts are used.

  • Command Line Scripting. You could make a Hypertext Preprocessor script to Run it with none Server or Browser. You only need the Hypertext Preprocessor(PHP) parser to Apply it this way. This type of Usage is Good for Scripts Regularly done the usage of Cron (on *Nix or Linux) or project Scheduler (on Our windows). Those Scripts also can be used for Easy Textual Content Processing Responsibilities. See the phase about Command line usage of Hypertext Preprocessor for more statistics.
  • Server-Aspect Scripting. That is the most Conventional and Major target field for Hypertext Preprocessor(PHP). You want three things to make this Work. The Hypertext Preprocessor parser (CGI or Server Module), an internet(Web) Server and a web browser. You need to run the Web server, with a linked PHP installation. You could get admission to the PHP application output with an internet(Web) browser, viewing the PHP web page thru the Server. All these can Run on your Home System if you are just Experimenting with PHP Programming. See the Installation Commands Phase for more Facts.
  • Writing Destop Application. Hypertext Preprocessor (PHP) is Probably not the very Exceptional Language to Create a Computing Device Application with a Graphical person Interface, but if you Understand Hypertext Preprocessor (PHP) very well, and would Really like to use some Superior Hypertext Preprocessor(PHP) features on your Customer-Side Applications you could additionally use Hypertext Preprocessor (PHP)-GTK to put in Writing Such Programs. You Furthermore might have the potential to write move-platform packages this manner. PHP-GTK is an extension to PHP, now not to be had inside the fundamental distribution. In case you are interested in Hypertext Preprocessor-GTK.

Hypertext Preprocessor(PHP) can be Used on all Primary Running Systems, which includes Linux, Many Unix versions (along with HP-UX, Solaris and OpenBSD), Microsoft windows, Mac OS X, RISC OS, and in all Likelihood others. Hypertext Preprocessor(PHP) has also Guide for Most of the internet(web) servers nowadays. This consists of Apache, IIS, and Plenty of others. And this includes any net server that could make use of the FastCGI PHP binary, like lighttpd and nginx. Hypertext Preprocessor(PHP) Works as Either a Module, or as a CGI processor.

So with Hypertext Preprocessor(PHP), you have the liberty of Choosing an Running System and an Internet(web) server. Moreover, you Furthermore may have the selection of the usage of Procedural Programming or Object Orientated Programming (OOP), or a Combination of Them Both.

With Hypertext Preprocessor(PHP) you are not Limited to output HTML. Hypertext Preprocessor's talents includes outputting Images, PDF files and even Flash Movies (the usage of libswf and Ming) generated on the fly. You can Additionally Output easily any text, inclusive of XHTML and some other XML record. PHP can Autogenerate these documents, and save them within the Report Machine, rather than Printing it out, forming a server-aspect cache to your Dynamic Content material.

One of the most powerful and Most large Features in Hypertext Preprocessor(PHP) is its guide for a Wide Range of Databases. Writing a database Enabled Web page is Noticeably simple using one of the Database Precise Extensions (e.G., for mysql), or the use of an Abstraction layer like PDO, or Connect with any Database supporting the Open Database Connection wellknown through the ODBC extension. Different databases can also utilize cURL or sockets, like CouchDB.

PHP also has Support for Talking to other offerings the use of protocols which includes LDAP, IMAP, SNMP, NNTP, POP3, HTTP, COM (on home windows) and infinite others. You can Additionally open uncooked Community Sockets and interact the use of any other protocol. PHP has guide for the WDDX Complicated Records trade between simply all internet(Web) programming languages. Talking about interconnection, Hypertext Preprocessor has help for instantiation of Java items and the use of them transparently as Hypertext Preprocessor gadgets(Objects).

PHP has useful Textual Content Processing Functions, which Incorporates(include) the Perl compatible regular expressions (PCRE), and lots of Extensions and Tools to parse and get right of entry to XML files. PHP standardizes all the XML Extensions on the Strong Base of libxml2, and extends the Function Set Including SimpleXML, XMLReader and XMLWriter assist.

And plenty of other interesting Extensions Exist, which might be Categorised both Alphabetically and by category. And there are Additional Percent Extensions that could or May not be Documented within the Hypertext Preprocessor(PHP) manual itself, like XDebug.


Popular posts from this blog

Advance PHP Tutorials

Constant Types-PHP

Variable Types For PHP