PHP is the most popular server side scripting language on the web. PHP stands for hypertext preprocessor.it scripts are executed on server and result is sent to browser as a plain HTML.
Some of the task that can be done with PHP –
- You can generate pages and files dynamically.
- You can create, open, read, write and close files on the server.
- You can collect data from a web form such as user information, email, phone no, etc.
- You can send emails to the users of your website.
- You can send and receive cookies to track the visitor of your website.
- You can store, delete, and modify information in your database.
- You can restrict unauthorized access to your website.
- You can encrypt data for safe transmission over internet.
Advantage of PHP over other language ->
Easy to learn – PHP is easy to learn and use as compare to other scripting languages
OpenSource – it is open source and free language which is maintained by variety of developers which make it source code freely available to download and use.
Platform Support – PHP runs and supports various platform such as microsoft windows, linux, Mac Os and is also compatible with all servers used today such as Apache, IIS etc
Performance – PHP scripts are faster as compare to script written in other language such as Ruby,Python, Java,Asp etc.
Community – PHP has a vast community of support which make finding help and documentation easier