Pow file exists
From PlainOldWebserver
pow_file_exists(filename)
Returns true or false, depending on whether a file exists. Root is the Firefox profile directory.
<?sjs
if(pow_file_exists("out.txt")) {
document.writeln(pow_file("out.txt"));
} else {
document.writeln("out.txt does not exist!");
}
?>
Result:
out.txt does not exist!
See Also
- pow_file()
- pow_file_put_contents()
- pow_file_delete()
- pow_file_exists()
- pow_download_file()