For PHP 4.0.2 running on Win 2K with IIS 5, the following is how to access the GET and Put varables:
<html>
<?php
$myvar1=$HTTP_GET_VARS["username"];
$myvar2=$HTTP_POST_VARS["username"];
echo($myvar1 . "<BR>");
echo($myvar2 . "<BR>");
echo("Did we get the var?");
?>
</html>
Make sure $HTTP_X_VARS is enabled in the php.ini file!!
Pageinfo: Array containing page URI, page query string (parameters), request method (GET or POST) and the complete URI Categories : Variables , PHP Options and Info , Arrays , URLs , PHP Global Dump Highlighted Categories : PHP , Variables , Global Variables Variable serialization and unserialization. Loading and saving variable structures
to and from file. Categories : Arrays , Filesystem , Variables , Strings , PHP Step by Step installation
manual for PHP4.1.x on Windows 2000 based systems running IIS5
using CGI or ISAPI Categories : PHP , PHP Configuration , PHP Options and Info , Windows 2000 getting the name of the current script and query string Categories : PHP , Global Variables , Variables , URLs Define equivalents in php3. Categories : PHP , Variables How to implement a session tracking system. Categories : PHP , Sessions , Variables Newbie Notes #5 - To double quote, or single quote, that is the question Categories : PHP , Beginner Guides , Variables Script to check values being submitted by POST or GET method from a form. This script may help diagnose what variables are being supplied by a browser to other php scripts. Categories : HTML , Variables , Debugging , PHP , HTTP The following snippet gives complete info about all submitted
HTTP_POST_VARS and HTTP_GET_VARS Categories : Variables , HTTP , PHP Automatic global variable definer Categories : PHP , Variables , Beginner Guides clearing variables in php3 Categories : Variables , Arrays , PHP A quick way set data from a form to a function or other places where you can lose scope. Categories : PHP , HTML and PHP , Variables Display variables when a form is submitted using POST/GET Categories : PHP , Functions , Variables , Debugging Check parameters validity. Paranoia was designed to check the validity of the parameters that a php page will receive after a form submission. It can be used to check the variables sent by POST or GET Categories : Algorithms , HTML and PHP , PHP , Variables