estenborg
04-26-2001, 03:12 PM
[nbsp] I'm running PHP on an IIS server and I'm getting some wierd behavior on some form submits.[nbsp][nbsp]It happens when I try to submit a form to the default page for a directory WITHOUT using the filename.[nbsp][nbsp]For Example
[nbsp][nbsp]<form action="?=var=5" ...>
[nbsp][nbsp]If the browser's URL bar contains the complete pathname (http://domain/index.php) this works fine, but I'd like to NOT have that filename there.[nbsp][nbsp]I'd like 'http://domain' to submit to 'http://domain/?var=5'.[nbsp][nbsp]All I get is a 'Page Cannot be Loaded'.[nbsp][nbsp]I've done this before in Linux with Apache, but does anyone know how to make IIS do it?
Thanks,
Eric
[nbsp][nbsp]<form action="?=var=5" ...>
[nbsp][nbsp]If the browser's URL bar contains the complete pathname (http://domain/index.php) this works fine, but I'd like to NOT have that filename there.[nbsp][nbsp]I'd like 'http://domain' to submit to 'http://domain/?var=5'.[nbsp][nbsp]All I get is a 'Page Cannot be Loaded'.[nbsp][nbsp]I've done this before in Linux with Apache, but does anyone know how to make IIS do it?
Thanks,
Eric