Recommend this page to a friend! |
All requests | > | read html files | > | Request new recommendation | > | Featured requests | > | No recommendations |
by Najeem M Illyas - 5 years ago (2018-05-22)
0 | I need to read html file and publish its content as web page |
0 | by riccardo castagna 165 - 5 years ago (2018-09-10) Comment You can use the cUrl php. My package is very simple to use. Make sure before that the php cUlr extension is enabled on your php server. The cUrl is a very fast way to get web contents: html single files or entire web pages, js files, css files, text files ... usage: include_once("./lib/class.curlmulti.php"); $ref= new cURmultiStable; $urllinkarray = array('put a link to an url here'); $urls = $ref->runmulticurl($urllinkarray); echo $urls[0]; |
+1 | by Afifi 60 - 5 years ago (2018-05-28) Comment <?php // I need to read html file and $homepage = file_get_contents('ht'.'tps:/'.'/www.google.com/'); // publish its content as web page echo $homepage; // from file_get_contents manual, next time do your homework yourself |
Recommend package | |
|