Hi
I can't run php in a html file on johhny. What do I need to do?
Posted 13 November 2020 - 04:52 AM
Hi
I can't run php in a html file on johhny. What do I need to do?
Posted 13 November 2020 - 08:28 AM
@adrianol you can't execute PHP code in an HTML file.
You need to change the file extension from .html to .php
Then you can write HTML code with PHP code
Posted 13 November 2020 - 12:26 PM
It is possible to add a handler to make HTML files process as PHP, but the typical recommendation is to do what maicol07 said and change the extension to .php
Please do not PM me for support. Posting on our forums lets all of us learn.
Do you play Minecraft? | Server Monitors | And the Dumbass of the Decade award goes to...
HelioHost →
Questions →
[Answered] php errorStarted by bca, 30 Dec 2020 ![]() |
|
![]() |
||
HelioHost →
Customer Service →
Escalated Requests →
[Krydos] Java war file : Johnny serverStarted by iotblend, 26 Dec 2020 ![]() |
|
![]() |
||
General Discussion →
Website Management and Coding →
Get value of custom select menuStarted by georgene, 21 Dec 2020 ![]() |
|
![]() |
||
General Discussion →
Website Management and Coding →
Problems drawing images with PHP GDStarted by sagnik, 02 Nov 2020 ![]() |
|
![]() |
||
HelioHost →
Customer Service →
[Solved] PHP 7.2.30 - SODIUM ExtensionStarted by campnet, 15 Oct 2020 ![]() |
|
![]() |
0 members, 0 guests, 0 anonymous users