Wednesday, March 27, 2019

Scripting Languages

A script is a set of programming instructions that is interpreted at runtime which is written for a special run-time environment that automates the execution of tasks. Basically, all scripting languages are programming languages.Mostly used for routine tasks.The code is usually executed without compiling.PHP is a server side scripting language. that is used to create Static websites or Dynamic websites or Web applications. PHP represents Hypertext Pre-processor, that earlier stood for Personal Home Pages.PHP code may be embedded into HTML code.it can be used in combination with different web layout frameworks, web content administration framework and web frameworks.A PHP tag begins with the less than symbol followed by the question mark and then the words “php”.it is a case sensitive language.Web hosting Supported by almost all hosting servers.PHP files are saved with the ".php" file extension.php training in kochi

The basic PHP application program shown below
<?php
echo "Hello world";
?>
Output:Hello world



Older PHP file extensions include .phtml, .php3, .php4, .php5, .phps.One of the strongest and most importannt features in PHP is its support for a wide range of databases.
There are two main areas where PHP scripts are used.

Server-side scripting-This is the primary target field for PHP. We need three things to make this work: the PHP parser a web server and an web browser. You have to run the web server, with a connected PHP installation.You can get to the PHP program yield with a web browser,viewing  the PHP page through the server. All these can keep running on your home machine in the event that you are simply trying different things with PHP programming.

Command line scripting.-You can make a PHP content to run it without any server or browser . we  just need the PHP parser to utilize it along these lines. This kind of usage is perfect for contents routinely executed utilizing cron  or Task Scheduler . This scripts can also be used for simple text processing tasks.php training in ernakulam

No comments:

Post a Comment