Läuft eigentlich auch alles problemlos, bis auf :
- Code: Select all
$my_root_path ="./";
$dir = dir($my_root_path . ".");
while (false !== ($file = readdir ($dir->handle)))
{
if( preg_match("/^admin_.*?\." . $phpEx . "$/", $file) )
{
include($file);
}
}
Egal was in "$my_root_path" enthalten ist, IMMER erhalte ich die Pfad "?:\xampp\apache" !!!!!!!!!!!!!
Und das, obwohl ich folgende VHOST-Config benutze :
- Code: Select all
DocumentRoot "D:/MyInternet/MyDomain/MyOffice"
<Directory "D:/MyInternet/MyDomain/MyOffice/">
DirectoryIndex index.php
Options Indexes FollowSymLinks MultiViews Includes ExecCGI
AddType text/html .shtml
AddHandler server-parsed .shtml
AddHandler cgi-script .cgi .pl Options +Indexes
Order Deny,Allow
AllowOverride None
AuthName "development"
AuthType Basic
AuthUserFile "D:/MyInternet/MyDomain/MyUsers"
Require valid-user
</Directory>
Auch mit der Klausel $dir = opendir($my_root_path . "."); oder auch @opendir('.') oder,oder, oder -> das Ergebnis ist immer das Gleiche.
Ich habe auch schon die PHP.INI durchsucht, aber keinen Hinweis auf eine Misskonfiguration gefunden.
Kann mir hier irgend jemand weiterhelfen ?