What is PHP?
PHP is a widely-used, scripting language that is executed on a server.used to develop Dynamic websites, Static websites or Web applications.PHP earlier stood for personal Home page which is now Hypertext Preprocessor. a server that has PHP installed PHP scripts can only be interpreted on that.A PHP ends with the extension ".php". and A PHP file contains PHP tags.PHP is a popular and amazing language.PHP file contains JavaScript,css,HTML and PHP code.To run the largest social network like facebook PHP is deep enough. To be a beginner's first server side language.It is free to download and use. By using HTML web pages can be designed.code execution is done on the user's browser with HTML. On the other hand PHP server-side scripting language before it gets to the web browser of the user its executed on the serve
Why Use PHP:
There are a number of programming languages out there,why we want to use PHP for web programming you may be wondering. PHP is free and open source. PHP is Short learning curve in comparison with other languages such as JSP, ASP etc. Large community document. on a number of different operating systems such as windows, Linux, Mac OS etc you can deploy your application working hand in hand with MySQLwith inbuilt support in PHP,you can also use PHP with other database management systems.
by default Most web hosting servers support PHP. not like other languages such as ASP that need IIS. only need to install it on the server and client computers requesting for resources from the server as it is a server sided language. only a web browser would be enough.do not need to have PHP installed;
Use of PHP:
by using PHP scripting language there are over 20 million websites and applications developed on the internet. on most of the well-known operating systems like Linux, Unix, Solaris, Microsoft Windows, MAC OS and many others. PHP scripts can be used. freedom to choose their operating system and web server Using PHP affords web developers in surat.
System functions performed by PHP - from files on a system it can create, open, read, write, and close them Forms Handling - save data to a file, gather data from files, through email you can send data, return data to the user. It can encrypt data. Access cookies variables and set cookies.through PHP you can add,delete,modify elements within your database. you can restrict users to access some pages of your website by using PHP.