|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-08-02 15:17 UTC] seribus at seribus dot com
PHP version 4.2.2(CGI)
IIS 5.0
My includes do not seem to be working with UNC
When I use Absolute paths or relative Paths(../,./)
<?
if (file_exists("\\S1\Share\phptest\f1\include.php") ){
echo "Exists<BR>";
} else {
echo "Does not Exist<BR>";
}
// Find file So access is not a problem
include ("\\S1\Share\phptest\f1\include.php");
//this fails
include ("\\S1\Share\phptest\f1\include.php");
include ("../f1/include.php");
//this fails
include ("f1/include.php");
//this works
?>
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 07 14:00:01 2026 UTC |
sorry include ("../f1/include.php"); should be include ("../phptest/f1/include.php");