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条)

报告相同问题?

悬赏问题

  • ¥15 微信会员卡接入微信支付商户号收款
  • ¥15 如何获取烟草零售终端数据
  • ¥15 数学建模招标中位数问题
  • ¥15 phython路径名过长报错 不知道什么问题
  • ¥15 深度学习中模型转换该怎么实现
  • ¥15 HLs设计手写数字识别程序编译通不过
  • ¥15 Stata外部命令安装问题求帮助!
  • ¥15 从键盘随机输入A-H中的一串字符串,用七段数码管方法进行绘制。提交代码及运行截图。
  • ¥15 TYPCE母转母,插入认方向
  • ¥15 如何用python向钉钉机器人发送可以放大的图片?