RE: [PHP-WIN] Include Issues Windoes 2000
| From: | Dash McElroy | Date: | Thu, 25 Jul 2002 16:59:15 +0000 |
| Subject: | RE: [PHP-WIN] Include Issues Windoes 2000 | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-14942@lists.php.net to get a copy of this message | ||
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:cschmidt@alloyinteractive.com]
Sent: Thursday, July 25, 2002 8:25 AM
To: php-windows@lists.php.net
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