“Sprawdź dir php” Kod odpowiedzi

jest dir php

<?php
$myfile = "user/home/documents/gfg";
  
// checking whether a file is directory or not
if (is_dir($myfile))
    echo ("$myfile is a directory");
else
    echo ("$myfile is not a directory");
?>
Harendra

Sprawdź dir php

The file_exists() function in PHP is an inbuilt function which is used to check whether a file or directory exists or not. The path of the file or directory you want to check is passed as a parameter to the file_exists() function which returns True on success and False on failure
Indonesia People

Odpowiedzi podobne do “Sprawdź dir php”

Pytania podobne do “Sprawdź dir php”

Więcej pokrewnych odpowiedzi na “Sprawdź dir php” w PHP

Przeglądaj popularne odpowiedzi na kod według języka

Przeglądaj inne języki kodu