User Tools

Site Tools


uphp:functions:unlink

Differences

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

Link to this comparison view

Next revision
Previous revision
uphp:functions:unlink [2017/05/27 23:01]
jeff created
uphp:functions:unlink [2021/09/13 05:57] (current)
Line 17: Line 17:
 This function deletes a file. It is similar to the Unix C unlink() function. This function deletes a file. It is similar to the Unix C unlink() function.
  
-====Parameters====+====Parameter====
  
 <html><b><span style="color:blue">$filename<span style="color:black"></b></html>:   Using a ''/'' at the beginning will make it relative to the root, otherwise it will be relative to the current working directory, which is either the folder that the script was started in or as was set by [[chdir()]]. <html><b><span style="color:blue">$filename<span style="color:black"></b></html>:   Using a ''/'' at the beginning will make it relative to the root, otherwise it will be relative to the current working directory, which is either the folder that the script was started in or as was set by [[chdir()]].
Line 37: Line 37:
 ?> ?>
 </code> </code>
 +
 +====See Also====
 +
 +[[rmdir()]] - Remove a directory, with optional deletion of contents
  
uphp/functions/unlink.1495926106.txt.gz · Last modified: 2021/09/13 05:56 (external edit)