This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
uphp:functions:chdir [2017/03/31 12:46] jeff |
uphp:functions:chdir [2021/09/13 05:57] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
======chdir====== | ======chdir====== | ||
+ | |||
< | < | ||
- | Change | + | Change |
====Description==== | ====Description==== | ||
- | <well size=" | + | |
- | <span style=" | + | <well size=" |
- | < | + | <span style=" |
+ | <span style=" | ||
<span style=" | <span style=" | ||
<span style=" | <span style=" | ||
Line 14: | Line 16: | ||
====Parameter==== | ====Parameter==== | ||
- | < | ||
- | ====Return | + | < |
- | Returns | + | |
+ | ====Return | ||
+ | |||
+ | < | ||
====Example==== | ====Example==== | ||
- | **Change directory to /logs:** | + | |
+ | ===Change directory to /logs=== | ||
<code php> | <code php> | ||
Line 29: | Line 34: | ||
====See Also==== | ====See Also==== | ||
- | [[getcwd()]] - Return the current directory | ||
- | [[mkdir()]] - Create | + | [[getcwd()]] - Get the current directory |
+ | |||
+ | [[mkdir()]] - Make a directory | ||
- | [[rmdir()]] - Remove a directory | + | [[rmdir()]] - Remove a directory, with optional deletion of contents |