Thanks Chris for helping me. But still the problem exist.
Say suppose I have these two files :
;First File : Putdata.php
<form name="frmputdata" action="getdata.php" method="get">
<input type="text" name="nm" size="30">
<input type="password" name="ps" size="30">
<input type="submit" value="SUBMIT">
</form>
And the second file
;getdata.php
<?
$name = $HTTP_GET_VARS["nm"];
$pass = $HTTP_GET_VARS["ps"];
echo "Login Name : " . $name; echo "<br>";
echo "Password : " . $pass; echo "<br>";
?>
While this works. It assign the values of these two vars nm and ps to
name and pass in this way. But if I use simply nm and ps in my program
without the use of $HTTP_GET_VARS it does not shows anything. I mean
I get empty vars in the second file. I have also tried to change the extension of the file to PHP3 or even PHP4 but nevertheless the problem does not get solved by doing this. Is something wrong with my PHP
installation? Please guide me. Thanks.
Javed.