I like to find whether a file is exist in the same folder or not.
The following would-be code doesn’t work correctly, but it will show what I want.
[b]would-be code[/b]
<?php
if ( fileExist("myFile.php") )
{echo "Yes, the file which is named "myFile.php" is existed in the folder." }
else
{echo "No, the file which is named "myFile.php" is NOT existed in the folder." }
?>