javascript - How to run PHP script in Firebase? - Stack Overflow

I am working on Firebase web Javascript but inside my project I want to run one PHP script, but I don&#

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 badges
Add a ment  | 

2 Answers 2

Reset to default 3

The 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

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742264763a4411573.html

相关推荐

  • javascript - How to run PHP script in Firebase? - Stack Overflow

    I am working on Firebase web Javascript but inside my project I want to run one PHP script, but I don&#

    1天前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信