Forum Moderators: coopster
<HTML>
<HEAD>
<TITLE>test</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<?
echo "$title <br>";
echo "$title <br>";
echo "$title <br>";
?>
</BODY>
</HTML>
Then I type the URL test.php?title=this is a test
Then "this is a test" is printed on the screen 3 times.
Yet, on the other server this does nothing.
Is there a setting on my server I have to adjust for this, because the rest of the script works fine.
If so, how do you adjust the server settings to pass variables in the URL?
Thanks! :)
When on, register_globals will inject (poison) your scripts will all sorts of variables, like request variables from HTML forms...When on, people use variables yet really don't know for sure where they come from and can only assume.
You can do it this way: <? echo "$_GET['title']";?>