User Tools

Site Tools


uphp:functions:chdir

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
uphp:functions:chdir [2017/03/31 13:26]
jeff
uphp:functions:chdir [2021/09/13 05:57] (current)
Line 3: Line 3:
 <badge>WMPRO, WMMINI FW >= 1.0</badge> <badge>WMMEGA FW >= 2.0</badge> <badge>WMPRO, WMMINI FW >= 1.0</badge> <badge>WMMEGA FW >= 2.0</badge>
  
-Change uPHP'current directory+Change the current directory
  
 ====Description==== ====Description====
  
-<well size="sm"><html><span style="font-size:125%;color:green">int +<well size="sm"><html> 
-<span style="color:black"></html>[[chdir]] +<span style="font-size:125%;color:green">int 
-<html>(+<span style="color:black">chdir (
 <span style="color:green">string <span style="color:green">string
 <span style="color:blue">$directory <span style="color:blue">$directory
Line 17: Line 17:
 ====Parameter==== ====Parameter====
  
-<html><span style="color:blue"><b>$directory</b><span style="color:black"></html>:  The new current directory+<html><b><span style="color:blue">$directory<span style="color:black"></b></html>:  The new current directory
  
-====Return Value====+====Return Values====
  
-Returns 0 on success and -1 on failure+<html><b><span style="color:green">Integer<span style="color:black"></b></html>:  0 on success or -1 on failure
  
 ====Example==== ====Example====
  
-**Change directory to /logs:**+===Change directory to /logs===
  
 <code php> <code php>
Line 35: Line 35:
 ====See Also==== ====See Also====
  
-[[getcwd()]] - Return the current directory+[[getcwd()]] - Get the current directory
  
-[[mkdir()]] - Create a directory as specified by pathname+[[mkdir()]] - Make a directory
  
-[[rmdir()]] - Remove a directory+[[rmdir()]] - Remove a directory, with optional deletion of contents
  
uphp/functions/chdir.1490966761.txt.gz · Last modified: 2021/09/13 05:56 (external edit)