Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<?php
if(file_exists("fail.php")) {
include "$fail.php"; }
else {
echo "Ne susht";
}
?>
djpatzo каза:а как да проверя в проверя с променлива всички файлове php не конкретен файл. Примерно да провери всички с разширение php и тогава да мога инклудвам и ако няма с таъв файл с .php да изписва страницата не съществува.
<?php
$flie = $_GET['include'];
if(file_exists("$file")) {
include "$file";
}
else {
echo "Файла $file не съществува!";
}
?>
DeathGuard_ каза:<?php
if(file_exists("fail.php")) {
include "$fail.php"; }
else {
echo "Ne susht";
}
?>