Jak w PHP zrobić coś takiego jak
if FileExists('plik.txt') then .......
Jak w PHP zrobić coś takiego jak
if FileExists('plik.txt') then .......
if (fileexist("NAZWA")) {
coś tam
} else {
coś tam
}
if (fileexist("NAZWA")) {
coś tam
} else {
coś tam
}
eee...
if(file_exists("./nazwa")) {
echo "jest";
} else { echo "nie ma"; }