Files are opened using the open and sysopen function. Either function may be passed up to 4 arguments, the first is always the file handle thenfile name also known as a URL or filepath, flags, and finally any permissions to be granted to this file.
$FH = "filehandle";
$FilePath = "myhtml.html";
open(FH, $FilePath, permissions);
or
sysopen(FH, $FileName, permission);
|