dongming6201 2015-04-22 19:34
浏览 66

iframe src不会加载.php表单

I wanted to include a contact form to my website so I got an easy to use form here: http://www.html-form-guide.com/contact-form/simple-php-contact-form.html (the middle one)

I followed the instructions and uploaded the 'Contact' folder (containing the contactform.php) to the root of my website.

I then chose a page on my site that I wanted the contact form to appear and inserted the following:

<iframe src="http://[my site].com/contact/contactform.php" frameborder='0' width='100%' height="600' allowtransparency='true'></iframe>

Now when I go to the page on my site that I expect to see the form I get an error '404 file or directory not found'.

Everything else on the page is OK but the form does not appear, what's wrong??

  • 写回答

1条回答 默认 最新

  • dshm8998473 2015-04-22 19:39
    关注

    I followed the instructions and uploaded the 'Contact' folder to the root of my website.

    URLs are sometimes case-sensitive. Instead of

    http://[my site].com/contact/contactform.php

    you should use

    http://[my site].com/Contact/contactform.php
    评论

报告相同问题?

悬赏问题

  • ¥15 在获取boss直聘的聊天的时候只能获取到前40条聊天数据
  • ¥20 关于URL获取的参数,无法执行二选一查询
  • ¥15 液位控制,当液位超过高限时常开触点59闭合,直到液位低于低限时,断开
  • ¥15 marlin编译错误,如何解决?
  • ¥15 有偿四位数,节约算法和扫描算法
  • ¥15 VUE项目怎么运行,系统打不开
  • ¥50 pointpillars等目标检测算法怎么融合注意力机制
  • ¥20 Vs code Mac系统 PHP Debug调试环境配置
  • ¥60 大一项目课,微信小程序
  • ¥15 求视频摘要youtube和ovp数据集