this code is correct and returned True
if (file_exists("./up_dir/p57hekl77307hhHkkglkIp/01397678849965301.png")) {
echo "True";
} else {
echo "false";
}
but this code returned False !
$dir = $_POST["dir"]; // = p57hekl77307hhHkkglkIp
$name = $_POST["name"]; // = 013976788499653
if (file_exists("./up_dir/" . $dir . "/" . $name . "01.png")) {
echo "True";
} else {
echo "false";
}
please help
its work :)
Thank RelaxedArcher for answer and other user for helping me