-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
(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 fileand includeAddType application/x-httpd-php5 .html - change the file extension from
index.htmltoindex.php
→The file is not loaded on browser. The listing of current directory shows up, and when I clickindex.phpto 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! 🍡
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels