Hardware
Software
Application Notes
uPHP Function Reference
Known Issues
Wattmon.com [main site]
WMPRO, WMMINI FW >= 1.0 WMMEGA FW >= 2.0
Get the current directory
Return the current path
None
String containing the current path
<? $path=getcwd(); chdir("/scripts/"); // do something chdir($path); // change back to the old location ?>
chdir() - Change the current directory
mkdir() - Make a directory
rmdir() - Remove a directory, with optional deletion of contents