" /> " /> "/>

Opendir with php fails

59 views Asked by At

Php version: PHP Version 7.4.13

by using opendir() with the following code:

$dir = "Z:\Chemie\DMCODEJS\Titrationen\TiamoExportDateien/";

    Print_r("<hr>");
    Print_r("Dir: " . $dir);
    Print_r("<hr>");
    
    $handle  = opendir($dir);
    
    Print_r("<hr>");
    Print_r("Ende");
    Print_r("<hr>");

and we get the following error-message:

*Dateiliste: Dir: Z:\Chemie\DMCODEJS\Titrationen\TiamoExportDateien/

Warning: opendir(Z:\Chemie\DMCODEJS\Titrationen\TiamoExportDateien/,Z:\Chemie\DMCODEJS\Titrationen\TiamoExportDateien/): Das System kann den angegebenen Pfad nicht finden. (code: 3) in E:\lafuwa-xampp\htdocs\TIAA\php\classes\ClsAjAuswertung.php on line 128 Warning: opendir(Z:\Chemie\DMCODEJS\Titrationen\TiamoExportDateien/): failed to open dir: No such file or directory in E:\lafuwa-xampp\htdocs\TIAA\php\classes\ClsAjAuswertung.php on line 128 Ende*

0

There are 0 answers