Anonymous user
Check that file exists: Difference between revisions
The loop was just confusing
m (Added to <20 category) |
(The loop was just confusing) |
||
Line 109:
=={{header|PHP}}==
if (file_exists('input.txt')) echo 'input.txt is here right by my side';
if (file_exists('docs' )) echo 'docs is here with me';
if (file_exists('/input.txt)) echo 'input.txt is over there in the root dir';
if (file_exists('/docs' )) echo 'docs is over ther in the root dir';
=={{header|Perl}}==
|