- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
PHP script
May 23, 2016
PHP script(s) can be created using any basic text editor or HTML editing software tool. Each PHP file must be saved with a .php file extension in order to be recognized as a functioning PHP script. When the Apache server has the appropriate settings, PHP code can be recognized also in .html files. This can also be achieved by adding an additional handler in the .htaccess file of a Linux based web server.
PHP is a powerful scripting language that fits gracefully into HTML and puts the tools for creating dynamic websites.
PHP was established as the leading website programming language several years ago, even though it is much younger than other languages. The cause of the extensive popularity the PHP distribution enjoys is the easy-to-grasp syntax, allowing even people with no coding experience whatsoever to quickly enter into the PHP realm. And it is exactly the easily created scripts that make PHP so popular among the Internet community.
PHP can be used on all major operating systems, including Linux, many Unix variants (including HP-UX, Solaris and OpenBSD), Microsoft Windows, Mac OS X, RISC OS, and probably others. PHP has also support for most of the web servers today. This includes Apache, IIS, and many others. And this includes any web server that can utilize the FastCGI PHP binary, like lighttpd and nginx. PHP works as either a module, or as a CGI processor.
A sample PHP script:
<?php echo '<p>This is a PHP script</p>'; ?>