doumei9832 2015-04-16 10:16
浏览 6
已采纳

PHP使用php上传文件[关闭]

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();

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?