Print

SERVICE

Posted in Uncategorised

PHP Programming

PHP is a powerful tool for making dynamic and interactive web pages. PHP is the widely-used, free, and efficient alternative to competitors such as Microsoft's ASP. Before you continue you should have some basic of HTML/XHTML and JavaScript . PHP stands for Hypertext Preprocessor. PHP is a server-side scripting language, like ASP and executed on the server. PHP supports many databases (MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL, Generic ODBC, etc.)

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.

 

YOUR COMPANY ADDRESS

#201Eo, St.156, S.Teuk Laak 2, K. Toulkork, Phnom Penh, Kingdom of CAMBODIA
E-mail: This email address is being protected from spambots. You need JavaScript enabled to view it. / This email address is being protected from spambots. You need JavaScript enabled to view it.
Tel: 023-88 57 88 / 016 68 06 68 / 017 711 840
Website: ww.globex.asia
skype: phalla.globex
Copyright © 2013 all rights reserved.