Maybe php is not set to automaticly register variables on your server? check http://www.php.net/manual/en/security.registerglobals.php
you can check your present setting in /winnt/php.ini (probably) -Jørg "Harry Lau" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Suppose I have wrote the following script in a php file, "test.php": > > echo("<img src=HQ" . $s . ".JPG>"); > > I first put the file in my win2000 + IIS server. > When I enter the URL address "test.php?$s=10", > the html output is: > > <img src=HQ.JPG> > > But when I put the file in many other servers, > they give the html output is what I have expected: > > <img src=HQ10.JPG> > > What is the problem of my server? > Thanks for advise! > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]