+ 5
[Answered]How can i use a PHP file.
I have hosted a PHP file in Google Drive but I don't know how to link it. I have to use that file in a form's action in HTML. And please anyone can if they debug my code.
12 Réponses
+ 4
Follow these steps:
https://cloud.google.com/solutions/web-hosting
or
infinity free .net
or
000webhost
They facilities PHP hosting
+ 6
better try https://in.000webhost.com/
+ 4
Krish
the code seems ok..
but on line 67 remove @ symbol
and at the top of the php opening tag add these
ini_set('display_errors', 'On'); error_reporting(E_ALL);
and send me if you get any debug information...
+ 2
+ 2
Please put your code on SoloLearn code playground instead if for reviewing , thanks
+ 1
Do not use Google Drive for you codes because it is useless for codes.
You can save your code in .txt format in Google Drive but cannot use that as .html format.
I have tried it.
Try to avoid Google Drive for html.
Use some other free domain and host.
0
As I know you can directly put the entire code in html document.
Put your php code inside body tag.
For more information check the PHP course once.
0
ok ok actually first you have to change the type of the file from .txt to .html then you save to Google Drive. Then you can easily use you your file in html format.
0
Ninja Coder but I tried but it's not connecting
0
Ninja Coder can you just check by making your own code
0
Krish not working in mobile code editor,try it in desktop.
https://code.tutsplus.com/tutorials/how-to-use-php-in-html-code--cms-34378
0
Gordon can you please explain it to me in step by step because I am facing little problem while doing it?
And thank you for giving me a new information?