Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » How to run a HTML page with occasional PHP scripts?
How to run a HTML page with occasional PHP scripts? [message #1819620] Sat, 18 January 2020 15:31 Go to next message
Jacob Pepijn is currently offline Jacob PepijnFriend
Messages: 1
Registered: January 2020
Junior Member
I was running PHP pages very easily until now, while trying HTML with little PHP. For the moment I found no way to run a "file.html" file with some scripts within (using <?= xxxxx ?>) on a server, like the way I always did with "anotherfile.php" file.
In the later case, which always worked, HTML is expressed with "echo", "printf()" and so on. I am using an Ubuntu machine on a server and accessing that remotely with eclipse.

Is there anyway to have this work? or is there any optimal solution for this?
Re: How to run a HTML page with occasional PHP scripts? [message #1819666 is a reply to message #1819620] Mon, 20 January 2020 16:00 Go to previous message
Dawid Pakula is currently offline Dawid PakulaFriend
Messages: 290
Registered: March 2013
Senior Member
Most servers is configured to run as PHP only *.php and *.phtml files. Some servers allow to override this behaviour via .htaccess but it's danger.

Previous Topic:Javascript code assist shows MISSING
Next Topic:settings for debugging php with eclipse mars
Goto Forum:
  


Current Time: Fri Apr 26 15:01:31 GMT 2024

Powered by FUDForum. Page generated in 0.03679 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top