PHP runs on different platforms (Windows, Linux, Unix, etc.) and compatible with almost all servers that used today (Apache, IIS, etc). PHP is FREE to download from the official PHP resource "www.php.net". To get access to a web server with PHP support, you can:
- Install Apache (or IIS) on your own server
- Install PHP and MySQL.
- You can find a web hosting plan with PHP and MySQL support. If your server supports PHP you don't need to do anything, just create some .php files in your web directory and the server will parse them for you.
The $_GET Function
The built-in $_GET function is used to collect values from a form sent with method="GET". Information sent from a form with the GET method is visible to everyone (it will be displayed in the browser's address bar) and has limits on the amount of information to send. When using method="get" in HTML forms, all variable names and values are displayed in the URL. This method should not be used when sending passwords or other sensitive information. However, because the variables are displayed in the URL, it is possible to bookmark the page. This can be useful in some cases. The get method is not suitable for very large variable values. It should not be used with values exceeding 2000 characters.
The $_POST Function
The built-in $_POST function is used to collect values from a form sent with method="POST". Information sent from a form with the POST method is invisible to others and has no limits on the amount of information to send. However, there is an 8 Mb max size for the POST method, by default (can be changed by setting the post_max_size in the php.ini file). However, because the variables are not displayed in the URL, it is not possible to bookmark the page.