I would like to upload a html file wherein multiple image exist in local as i upload the file after uploading all values which is in html came up into my screen display the same, using php is it possible an early reply will be highly appreciated.
1条回答 默认 最新
- duanbozhong9689 2015-04-16 10:33关注
Try this, it should work for you.
$doc = new DOMDocument();
$doc->loadHTMLFile("youfilename.html");
echo $doc->saveHTML();
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报