admin管理员组文章数量:1331091
I am working on Firebase web Javascript but inside my project I want to run one PHP script, but I don't know how to run this script.
HTML
<form method="POST" action="./abcd.php">
<input type="email" id="mc-email" name="mc-email" required/>
<input type="submit" value="Submit">
</form>
PHP Script
<?php
echo 'Hello World';
?>
Please kindly go through my above post and let me know how to run PHP script inside my firebase web project.
I am working on Firebase web Javascript but inside my project I want to run one PHP script, but I don't know how to run this script.
HTML
<form method="POST" action="./abcd.php">
<input type="email" id="mc-email" name="mc-email" required/>
<input type="submit" value="Submit">
</form>
PHP Script
<?php
echo 'Hello World';
?>
Please kindly go through my above post and let me know how to run PHP script inside my firebase web project.
Share edited Nov 9, 2016 at 20:47 adjuremods 2,9982 gold badges14 silver badges17 bronze badges asked Nov 9, 2016 at 12:28 My ChatMy Chat 1031 gold badge3 silver badges8 bronze badges2 Answers
Reset to default 3The question is old but for new guys dealing with firebase; regarding to current docs firebase is static assets only. You can still use its realtime db, storage and auth like other helper functions and scale your project if these kind of features are okay for you.
If one want to execute some server code such as PHP,Java,.Net,Go,NodeJS google has cloud solution support these languages https://cloud.google./
You need to use the rest api of Firebase. https://www.firebase./docs/rest/quickstart.html https://github./ktamas77/firebase-php
本文标签: javascriptHow to run PHP script in FirebaseStack Overflow
版权声明:本文标题:javascript - How to run PHP script in Firebase? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742264763a2443179.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论