2 things:

1. Your webserver should be running as IUSR_something which as far as I
know, may have no network access, or permissions by default. There was a
like topic discussed recently on this list. I don't use IIS (YAY!) so I'm
not really sure. Check your permissions. Then double check them.

2. Try using forward slashes instead of backslashes. PHP and other cross
platform software don't take kindly to Windows' "standard" of backslashes.
If you're dead set on backslashes, use them twice (i.e. \\ for \ and \\\\
for \\).

Good luck!

-----Original Message-----
From: Chris Schmidt [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, July 25, 2002 8:25 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Include Issues Windoes 2000


I have two server

FS = File Server
WS = Web server

WS is IIS and is conecting to a share on FS.
So the path to the PHP files is
\\FS\iisweb\phpfiles\

So if i call test.php and that is located at http://WS/client/test.php
and config is at http:\\WS\phpfiles\config.php

test.php has this as a line:
include("\\FS\iisweb\phpfiles\config.php")
or
include("..\phpfiles\config.php")
I get  that a file can not be found

Does PHP for windows work with Shares?



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to