本文介绍了我可以将.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吗?
发布评论