我可以将.php文件URL添加到Blogger吗?

编程入门 行业动态 更新时间:2024-10-06 12:33:40
本文介绍了我可以将.php文件URL添加到Blogger吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我想知道是否可以使用直接链接将.php文件添加到Blogger模板中.我不确定是否可以通过URL将其添加到表单操作中,因为Blogger不直接支持.php.

I would like to know if there's a way to add a .php file to a Blogger template using a direct link. I am unsure whether or not I can add it to my form action with a URL as Blogger does not support .php directly.

<form method="post" action="CAN_I_USE_A_URL_HERE?.php"> <input name="Name" placeholder="Name*:"/> <input name="E-mail" type="email" placeholder="E-mail*:"/> <input name="Phone" type="email" placeholder="Phone:"/> <label>Write your message!</label> <textarea name="Message"></textarea> <input id="submit" name="submit" type="submit" value="submit"/> </form>

推荐答案

Blogger将不会运行服务器端代码.

Blogger will not run server-side code.

您需要将PHP代码放在将为您运行的服务器上,然后将<form>指向该服务器.

You need to put your PHP code on some server that will run it for you, then make the <form> point to that.

更多推荐

我可以将.php文件URL添加到Blogger吗?

本文发布于:2023-11-02 06:24:40,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1551614.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:文件   php   Blogger   URL

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!