dopgv00024 2012-03-12 15:17
浏览 6
已采纳

如何链接到不同计算机上的静态Html页面。

we have a internal tool a web php app we use . There are some static html files i want to link it to, which are on another machine . right now i am doing like this

<a href="file:////123.145.226.8/Projects/E-Reports/E-Report-' . $projectNo . '/Report.html" target="_blank">E-Report</a>

which works just fine in IE !!!!!!!!!!!!!!!!! but not in firefox any ideas ? This is a internal tool so the machine on which static files are present is always available. thanks

  • 写回答

2条回答 默认 最新

  • dtyz76562 2012-03-12 15:20
    关注

    You should install a webserver on the machine 123.145.226.8. If it's a Windows machine, try xampp and place the files in the htdocs directory. Now you can visit the HTML page with http://123.145.226.8.

    If it's running linux, use apt-get install apache2 or yum install httpd (depending on operating system) and place your files in /var/www/.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥30 这是哪个作者做的宝宝起名网站
  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!