What can PHP do?

What can PHP do?

Anything. PHP is chiefly centered around worker side scripting, so you can do anything some other CGI program can do, for example, gather structure information, create dynamic page content, or send and get treats. Be that as it may, PHP can do considerably more.

There are three fundamental zones where PHP contents are utilized.

  • Worker side scripting. This is the most customary and principle target field for PHP. You need three things to make this work: the PHP parser (CGI or worker module), a web worker and an internet browser. You have to run the web worker, with an associated PHP establishment. You can get to the PHP program yield with an internet browser, seeing the PHP page through the worker. All these can run on your home machine in the event that you are simply trying different things with PHP programming. See the establishment guidelines area for more data.
  • Order line scripting. You can make a PHP content to run it with no worker or program. You just need the PHP parser to utilize it thusly. This kind of use is perfect for contents routinely executed utilizing cron (on *nix or Linux) or Task Scheduler (on Windows). These contents can likewise be utilized for basic content handling errands. See the segment about Command line utilization of PHP for more data.
  • Composing work area applications. PHP is most likely not the absolute best language to make a work area application with a graphical UI, yet on the off chance that you know PHP quite well, and might want to utilize some progressed PHP features in your customer side applications you can likewise utilize PHP-GTK to compose such projects. You likewise can compose cross-stage applications along these lines. PHP-GTK is an expansion to PHP, not accessible in the primary dissemination. On the off chance that you are keen on PHP-GTK, visit » its own site.

PHP can be utilized on all major working frameworks, including Linux, numerous Unix variations (counting HP-UX, Solaris and OpenBSD), Microsoft Windows, Mac OS X, RISC OS, and presumably others. PHP has additionally support for the majority of the web workers today. This incorporates Apache, IIS, and numerous others. Also, this incorporates any web worker that can use the FastCGI PHP twofold, as lighttpd and nginx. PHP functions as either a module, or as a CGI processor.

So with PHP, you have the opportunity of picking a working framework and a web worker. Besides, you additionally have the decision of utilizing procedural programming or article arranged programming (OOP), or a blend of them both.

With PHP you are not constrained to yield HTML. PHP’s capacities incorporates yielding pictures, PDF records and even Flash films (utilizing libswf and Ming) created on the fly. You can likewise yield effectively any content, for example, XHTML and some other XML document. PHP can autogenerate these documents, and spare them in the record framework, rather than printing it out, shaping a worker side reserve for your dynamic substance.

One of the most grounded and most noteworthy features in PHP is its help for a wide scope of databases. Composing a database-empowered website page is staggeringly basic utilizing one of the database explicit augmentations (e.g., for mysql), or utilizing a deliberation layer like PDO, or associate with any database supporting the Open Database Connection standard by means of the ODBC expansion. Different databases may use cURL or attachments, as CouchDB.

PHP additionally has support for conversing with different administrations utilizing conventions, for example, LDAP, IMAP, SNMP, NNTP, POP3, HTTP, COM (on Windows) and incalculable others. You can likewise open crude system attachments and connect utilizing some other convention. PHP has support for the WDDX complex information trade between for all intents and purposes all Web programming dialects. Discussing interconnection, PHP has support for launch of Java items and utilizing them straightforwardly as PHP objects.

PHP has valuable content preparing features, which incorporates the Perl good standard articulations (PCRE), and numerous expansions and apparatuses to parse and get to XML records. PHP normalizes the entirety of the XML expansions on the strong base of libxml2, and expands the list of capabilities including SimpleXML, XMLReader and XMLWriter support.

What’s more, numerous other fascinating expansions exist, which are categorized both sequentially and by class. What’s more, there are extra PECL expansions that could conceivably be reported inside the PHP manual itself, as » XDebug.

As should be obvious this page isn’t sufficient to list all the features and advantages PHP can offer. Peruse on in the areas about introducing PHP, and see the capacity reference part for clarification of the augmentations referenced here.

Leave a Reply

Your email address will not be published. Required fields are marked *