How to read HTML file using PHP

$fileContent = file_get_contents('userFile.html'); $fileContent = str_replace("{FNAME}", strtolower($fname),$fileContent); $fileContent = str_replace("{LNAME}", strtolower($lname),$fileContent);

Comments