Click to See Complete Forum and Search --> : iis 4 nt 4 and http get function


Anon
07-03-2002, 12:25 PM
Dear forumn,

I have set up php on a nt4 machine with iis 4 using the php windows installer. The std test script works fine however when i try and use variables based on a http get, php reports and undefined variable error.

For example the url reads:
http://127.0.0.1/read.php?url=1

read.php contains:

<body>
<?php
print ("$url");
?>
</body>


passing the url to read.php gives me:
Notice: Undefined variable: url in .... on line 4.

At a loss i have actually typed out an example form handler from a php book and i get the same errors. Has anyone seen this before? Any idea what i am doing wrong?

Ian