ok, i posted something a few posts down, but i dont think i made sense, what i want to do is this:
if (file_exists($myfile)) {$truuu='"true"';} else{$truuu='"false"';}
but instead of if a file exists, how do i do it with if a folder exists?
if ($folder="/path/to/some/dir") { //do something }
That's the 1st thing I'd try....
Course, I got curious, and that doesn't work...so, off to RTFM... 😃
if (is_dir("/path/to/some/dir")) { $check=true; }