What Is PHP Used For?


Quick Answer

Hypertext preprocessor (PHP) is a programming language used to fundamentally enhance HTML in Web pages. It is often used with the open-source relational database management system MySQL in the creation of databases, but has other uses.

Continue Reading
Related Videos

Full Answer

PHP is embedded within HTML code to perform certain functions. For example, PHP can be added to HTML in order to perform calculations, or to collect user data. Examples of PHP code that perform calculations include math websites with functionality, including metric conversions. PHP also allows users to perform functions on a website such as posting on a forum or adding information to an address book.

PHP is also capable of editing simple graphics and creating new graphics, when used in conjunction with GD Library. PHP technology is often used to create CAPTCHAs on sites that seek to verify that a human is accessing information as opposed to an automated system.

PHP is similar to JavaScript. However, where as JavaScript is run on the client side, PHP information is stored on the server. This keeps data and information more secure, and less likely that others can view code. When embedded into a webpage, a knowledgeable user can maneuver in and out of the PHP for maximum usability.

Learn more about Computers & Hardware

Related Questions