PHP Server-side Scripting
PHP is a free, open-source imperative, object-oriented scripting language. PHP code can be embedded in HTML and is executed on the server-side, avoiding the need for specialist client-side technologies. PHP is a widely used technology and is used on many web development projects. Many current systems use either PHP or alternatives to execute on the server working with a database.

As you can see in the diagram above, PHP is executed on the server. This means that functions are executed before a standard HTML document is generated and sent to the client. If required the PHP interpreter will also carry out MySQL Queries to get information required to generate a page for the client.
Alternatives to PHP included Microsoft’s ASP (Active Server Pages) which can be used in much the same way. It requires a Windows-based server with Microsoft’s IIS (Internet Information System) installed. Functionally there is little differentiating ASP from PHP, however, ASP, IIS and Windows are all proprietary software and therefore add additional costs to the implementation of an ASP-based system. PHP is free and can be run on most server Operating Systems including Windows and the open-source Linux operating systems.
Related Posts
Post Information
Written on 15 April 2009 at 1.54 pm, by Keith Greer. "PHP Server-side Scripting" was posted in PHP with the tags PHP, scripting . Comments Off
Social Networks: Facebook, Twitter, Google Bookmarks, del.icio.us, StumbleUpon, Digg, Reddit, Posterous.
















