This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
uphp:functions:file_exists [2017/05/06 11:52] jeff |
uphp:functions:file_exists [2021/09/13 05:57] (current) |
||
---|---|---|---|
Line 7: | Line 7: | ||
====Description==== | ====Description==== | ||
- | <well size=" | + | <well size=" |
- | < | + | |
<span style=" | <span style=" | ||
- | <span style=" | + | <span style=" |
- | </ | + | |
- | [[file_exists]] ( | + | |
- | < | + | |
<span style=" | <span style=" | ||
<span style=" | <span style=" | ||
<span style=" | <span style=" | ||
- | </ | + | </ |
- | </ | + | |
Return 1 (true) if the file exists, otherwise return 0 (false) | Return 1 (true) if the file exists, otherwise return 0 (false) | ||
Line 26: | Line 21: | ||
< | < | ||
- | ====Return | + | ====Return |
< | < | ||
Line 72: | Line 67: | ||
[[findfirst()]] - Start searching the current folder for files matching a pattern and attributes | [[findfirst()]] - Start searching the current folder for files matching a pattern and attributes | ||
- | [[strftime()]] - Format a Linux timestamp | + | [[strftime()]] - Format a Linux Timestamp |
- | [[time()]] - Return current system timestamp | + | [[time()]] - Return |
- | [[rename()]] - Rename or move a file from source to destination | + | [[rename()]] - Rename or move a file or directory |
[[log()]] - Print to the System Log (or optional file) | [[log()]] - Print to the System Log (or optional file) |