Hello,
I am running PHP3 and PHP4 on Windows NT
using MS IIS4. My question is: does anyone
know how to get PHP4 to deal with filenames
containing spaces in this environment?
What I mean is if I have a link on one of
my pages where the href is
"http://server/some path/" and the default
document in IIS for this folder is say
index.php, is there any way to prevent
PHP4 from complaining that "The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are"?
Using PHP3 I managed to get around this
problem by changing the Properties ->
Home Directory -> Configuration in IIS
for PHP by adding quotes, i.e. typing:
C:\php3\php.exe "%s" "%s"
instead of:
C:\php3\php.exe %s %s
However this doesn't work with PHP4 and
I have tried changing all the spaces in
the URL to %20's but that doesn't work
either.
I cannot change all the paths to remove
the spaces in the intranet I'm developing
because they are on another file server
and set up as Virtual Directories in IIS.
Any help much appreciated.