admin管理员组

文章数量:1332628

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

本文标签: javascriptHow to run PHP script in FirebaseStack Overflow