You've probably seen URLs with values added in a query string like this:
http://domain.com/file.php?arg1=foo&arg2=bar
The proper way to get at those vars is to reference $GET
echo "arg1's value is " . $_GET['arg1'];
echo "<br>";
echo "arg2's value is " . $_GET['arg2'];
register_globals is a setting in your PHP configuration which instructs PHP to create the global variables $arg1 and $arg2 in your script. This presents a security problem. Don't rely on register_globals. It has been deprecated in the latest versions of PHP and should not be used. Use $_GET instead.
Likewise if you define a form with method="post" then you should refer to $_POST for the values. Your form:
<form method="post" action="handler.php">
<input type="text" name="arg1" value="">
<input type="submit" name="submit" value="submit">
</form>
handler.php:
echo "arg1's value is " . $_POST['arg1'];