About PHP
×
Home Courses Community Support
About PHP

Hypertext Pre-processor (PHPs) is a server-side scripting language, and server-side scripts are special commands you must place in Web pages. Those commands are processed before the pages are sent from your Server to the Web browser of your visitor. A typical PHP files will content commands to be executed in the server in addition to the usual mixture of text and HTML (Hypertext Markup Language) tags.
 

When you type a URL in the address box or click a link on a Web page, you're asking a Web server on a computer somewhere to send a file to the Web browser (sometimes called a "client") on your computer. If that file is a normal HTML file, it looks exactly the same when your Web browser receives it as it did before the Web server sent it. After receiving the file, your Web browser displays its contents as a combination of text, images, and sounds. In the case of a PHP page, the process is similar, except there's an extra processing step that takes place just before the Web server sends the file. Before the Web server sends the PHP file to the Web browser, it runs all server-side scripts contained in the page. Some of these scripts display the current date, time, and other information. Others process information the user has just typed into a form, such as a page in the Web site's guestbook to distinguish them from normal HTML pages, PHP files are usually given the ".php" extension.
 

Summary:

  • PHP is a recursive acronym for "PHP: Hypertext Preprocessor".
  • PHP is a server-side scripting language, like ASP, that is embedded in HTML. It is used to manage dynamic content, databases, session tracking, even build entire e-commerce sites.
  • PHP scripts are executed on the server
  • PHP supports many databases (MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL, Generic ODBC, etc.)
  • PHP is widely-used, open source software
  • PHP is free to download and use
  • PHP Syntax is C-Like.
  • PHP is a scripting language that is often embedded into HTML to add functions HTML alone can't do. PHP allows you to collect process and utilize data to create a desired output. In short, it lets you interact with your pages.
  • PHP is able to perform a number of tasks including printing data, making numeric calculations (such as addition or multiplication), making comparisons (which is bigger, are they equal, etc.) and making simple boolean choices. From this you can create more complex loops and functions to make your page generate more specialized data.

 

Why PHP?

  • PHP runs on different platforms (Windows, Linux, UNIX, etc.)
  • PHP is compatible with almost all servers used today (Apache, IIS, etc.)
  • PHP is FREE to use.
  • PHP is easy to learn and runs efficiently on the server side.
  • PHP is pleasingly zippy in its execution, especially when compiled as an Apache module on the UNIX side. The MySQL server, once started, executes even very complex queries with huge result sets in record-setting time.
  • PHP supports a large number of major protocols such as POP3, IMAP, and LDAP.
  • PHP4 added support for Java and distributed object architectures (COM and CORBA), making n-tier development a possibility for the first time.
  • PHP is forgiving: PHP language tries to be as forgiving as possible.

 

 

Next →

The Right Environment

NOTES

Our mission is to provide highly effective and quality education via innovative solutions. Geeksdemy look forward to bridge the gap between in-demand technology and academics in order to deliver innovative, easy, interesting and affordable learning across the Globe.

Courses

  • Python
  • Game Development with Unity 3D
  • Arduino
  • PCB & Circuit Designing
  • Robotics and Embedded C
  • 8051/8052 Embedded Systems
  • QuadCopter & UAV
  • MATLAB with Robotics
  • Raspberry Pi
Learn On the Go!
Get the Android App
Get the iOS App