Home Php Predefined Variable in PHP

 
 

Share on Google+Share on Google+

Predefined Variable in PHP

Advertisement
$_GET and $_POST are most commonly used predefined variable in PHP, which is used to get and post variables values from users. This article also illustrates more predefined variables in PHP, which are required to make complex and dynamic web application in PHP.

In order to create more complex and dynamic web applications, PHP offers a huge list of predefined variables. These variables not only simplify your task but also saves you from writing thousands and thousands lines of codes. These predefined variables in PHP ensure the security of applications from external threats. Using these variables you will be able to upload and download files dynamically. You can also generate several request to your server.

Though there are a huge list of predefined variables in PHP, we will talk about most commonly used variables. See the list below.

List of most commonly used predefined variables in PHP

$_GET and $_POST are most commonly used variables in PHP, which is required to get data from users. $_GET and $_POST are associative array of variables that is passed to the current script via the URL parameters HTTP. Where as $_FILES is an associative array of items uploaded to the current script using HTTP POST method.

Advertisement

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: December 17, 2013

Related Tutorials

Discuss: Predefined Variable in PHP  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:0
DMCA.com