没有PHP的电子邮件联系表 [英] Email contact form without PHP

查看:170
本文介绍了没有PHP的电子邮件联系表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用联系表单来创建一个网站,但PHP不是一个选项,因为客户端不希望使用它。通过发送电子邮件参数(非标准)或者通过使用外部联系表单,有没有办法解决这个问题?有没有什么好的不使用广告,可以轻松地修改为不同的语言,例如?



谢谢。

解决方案

有数百个可嵌入(最可能的 iframe - )的联系表单解决方案,这将使您使用像PHP这样的服务器端语言。只是一个快速google搜索将给你一些。 p>

或者,您可以使用HTML格式创建一个表单,并提交一个实际上是一个 mailto:链接的提交按钮,您在表单输入更改时修改该mailto的参数。



唯一的缺点是它对用户来说并不方便,因为它打开了他们的电子邮件客户端,并且必须实际发送它。



个人而言,我会尝试劝说客户,但如果不可能,那么这些是您的选择。


I'd like to use a contact form for a website I'm creating, but PHP is not an option since the client doesn't wish to use it. Is there a clever way to work around this somehow, by sending email parameters (which is non-standard) perhaps, or by using an external contact form? Are there any good ones that don't use advertising and are easily modified to a different language for example?

Thank you.

解决方案

There are hundreds of embeddable (most likely iframe-based) solutions for contact forms, which would enable you to get around using a server-side language like PHP. Just a quick google search will give you some.

Alternatively, you could make a form in HTML, and have a submit button which is actually a mailto: link, and you modify the parameters of that mailto as your form inputs change.

The only downside of this is that it's not as convenient for the user, as it then opens up their email client and they have to actually send it.

Personally, I would try and persuade the client, but if that isn't possible, then those are your options.

这篇关于没有PHP的电子邮件联系表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆