You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(You can refer all the source code from my "expenseSheet" repository, testGoogleAPI branch)
Q. How can I run PHP code inside HTML file?
p.s. I use server with python -m SimpleHTTPServer 8000
What I have tried but not worked.
==>
creating .htaccess file and include AddType application/x-httpd-php5 .html
change the file extension from index.html to index.php
→The file is not loaded on browser. The listing of current directory shows up, and when I click index.php to open, I can only download the file.
My code on screen
: Successfully read "Sign in" & "Sign out" button, allowing user login on gmail.
: php source code is directly printed on the browser page.
Huge thanks in advance! 🍡
The text was updated successfully, but these errors were encountered:
(You can refer all the source code from my "expenseSheet" repository, testGoogleAPI branch)
Q. How can I run PHP code inside HTML file?
p.s. I use server with
python -m SimpleHTTPServer 8000
What I have tried but not worked.
==>
.htaccess file
and includeAddType application/x-httpd-php5 .html
index.html
toindex.php
→The file is not loaded on browser. The listing of current directory shows up, and when I click
index.php
to open, I can only download the file.Huge thanks in advance! 🍡
The text was updated successfully, but these errors were encountered: