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