Hardware
Software
Application Notes
uPHP Function Reference
Known Issues
Wattmon.com [main site]
This is an old revision of the document!
WMPRO, WMMINI FW >= 1.0 WMMEGA FW >= 2.0
Change current directory
$directory: The new current directory
Returns 0 on success and -1 on failure
Change directory to /logs:
<? chdir("/logs/"); ?>
getcwd() - Get the current directory
mkdir() - Create a directory as specified by pathname
rmdir() - Remove a directory