User Tools

Site Tools


uphp:functions:fopen

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:fopen [2017/04/10 12:58]
jeff
uphp:functions:fopen [2021/09/13 05:57] (current)
Line 7: Line 7:
 ====Description==== ====Description====
  
-<well size="sm"> +<well size="sm"><html>
-<html>+
 <span style="font-size:125%;color:green">int <span style="font-size:125%;color:green">int
-<span style="color:black"> +<span style="color:black">fopen (
-</html> +
-[[fopen]] ( +
-<html>+
 <span style="color:green">string <span style="color:green">string
 <span style="color:blue">$filename<span style="color:black">,  <span style="color:blue">$filename<span style="color:black">, 
Line 19: Line 15:
 <span style="color:blue">$mode <span style="color:blue">$mode
 <span style="color:black">) <span style="color:black">)
-</html> +</html></well>
-</well>+
  
 Attempt to open a file (or special stream) for reading or writing, and return the file handle for future operations Attempt to open a file (or special stream) for reading or writing, and return the file handle for future operations
Line 37: Line 32:
   * 'a' - Open the file in append mode for writing, which will open the file and move the pointer to the end of the file   * 'a' - Open the file in append mode for writing, which will open the file and move the pointer to the end of the file
  
-====Return Value====+====Return Values====
  
 <html><b><span style="color:green">Integer<span style="color:black"></b></html>:  File handle, or 0 if the attempt to open the file or stream fails <html><b><span style="color:green">Integer<span style="color:black"></b></html>:  File handle, or 0 if the attempt to open the file or stream fails
uphp/functions/fopen.1491829137.txt.gz · Last modified: 2021/09/13 05:56 (external edit)