User Tools

Site Tools


uphp:functions:chdir

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

uphp:functions:chdir [2017/05/09 12:22]
jeff
uphp:functions:chdir [2021/09/13 05:57]
Line 1: Line 1:
-======chdir====== 
- 
-<badge>WMPRO, WMMINI FW >= 1.0</badge> <badge>WMMEGA FW >= 2.0</badge> 
- 
-Change the current directory 
- 
-====Description==== 
- 
-<well size="sm"><html> 
-<span style="font-size:125%;color:green">int 
-<span style="color:black">chdir ( 
-<span style="color:green">string 
-<span style="color:blue">$directory 
-<span style="color:black">) 
-</html></well> 
- 
-====Parameter==== 
- 
-<html><b><span style="color:blue">$directory<span style="color:black"></b></html>:  The new current directory 
- 
-====Return Value==== 
- 
-<html><b><span style="color:green">Integer<span style="color:black"></b></html>:  0 on success or -1 on failure 
- 
-====Example==== 
- 
-===Change directory to /logs=== 
- 
-<code php> 
-<? 
-  chdir("/logs/"); 
-?> 
-</code> 
- 
-====See Also==== 
- 
-[[getcwd()]] - Get the current directory 
- 
-[[mkdir()]] - Make a directory 
- 
-[[rmdir()]] - Remove a directory 
  
uphp/functions/chdir.txt · Last modified: 2021/09/13 05:57 (external edit)