what to do with php code example
Example 1: what php can do
PHP can generate dynamic page content.
PHP can create, open, read, write, delete, and close files on the server.
PHP can collect form data.
PHP can send and receive cookies.
PHP can add, delete, modify data in your database.
PHP can be used to control user-access.
PHP can encrypt data and apply validation.
PHP used to send and receive E-Mails.
PHP can be used to integrate with other third party tools.
PHP can output images, PDF files, and even Flash movies. You can also output any text, such as XHTML and XML.
Example 2: what is php
PHP stood for Personal Home Page now it stands for Hypertext Pre-processor.
PHP is an open-source, interpreted, and object-oriented scripting language that can be executed at the server-side.
PHP is well suited for web development. Therefore, it is used to develop web applications (an application that executes on the server and generates the dynamic page).
PHP was created by Rasmus Lerdorf in 1994 but appeared in the market in 1995.Most of PHP syntax is based on C. It is used to manage dynamic content, databases, session tracking, even build entire e-commerce sites.
PHP is powerful enough to be at the core of the biggest blogging system on the web (WordPress)!
PHP is deep enough to run the largest social network (Facebook)!
PHP is also easy enough to be a beginner's first server side language!