|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2007-05-02 10:07 UTC] moreno dot feltscher at emsservices dot ch
Description: ------------ On my IIS-Website I've got a "Virtual Directory", which's target is on another server as share. When I try to get a file (eg. include 'directory_on_other_server/test.php';) from there over the include-function it doesn't work and I have a blank screen. Is this a known issue? How can I solve this problem? PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 14:00:01 2025 UTC |
I found a workaround for the "Virtual Directory" bug. I just used the local path. It seems to work on IIS 6.0. I setup a virtual directory on our Windows 2003 server and then instead of using: <?PHP require(dirname(__FILE__)."/name_of_virtual_directory/your_file_here.php"); ?> I used: <?php require("C:/websites/name_of_virtual_directory/your_file_here.php"); ?> Try it, it worked for me.