PHP Preview as HTML

Let us know what you would like to see in the next version of this software

Moderator: kfury77

Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.

  • Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
  • Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
  • Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".

Please note that we DO READ all suggestions, even if a reply is not posted. Thanks!

PHP Preview as HTML

Postby Papid PHP Login » Fri Dec 02, 2016 10:57 am

Hello,
I will preview my phpfiles only as HTML, like Dreamweaver do. I will not install an php interpreter an my PC.
When I rename the file as .html it works fine.

Greetings, Rene
Papid PHP Login
 
Posts: 2
Joined: Fri Dec 02, 2016 10:42 am

Re: PHP Preview as HTML

Postby Aivars » Fri Dec 02, 2016 11:39 am

Try going to menu Tools -> Options -> Document types and remove php extension from PHP and add it to HTML. But why would you even need this boggles my mind :)
Blumentals Software Programmer
User avatar
Aivars
Blumentals Software Developer
 
Posts: 1916
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: PHP Preview as HTML

Postby Papid PHP Login » Sat Dec 03, 2016 8:08 pm

Many thanks, but it don´t work. Now he show me the code also in the preview.

The most part on my sides are HTML. I think its normal when I will check this.
Or it is only because I´m not a professional. :-)
Papid PHP Login
 
Posts: 2
Joined: Fri Dec 02, 2016 10:42 am

Re: PHP Preview as HTML

Postby Aivars » Mon Dec 05, 2016 11:01 am

Of course it shows the PHP code, you are previewing it as HTML after all...
I think you should try doing it the right way and install the php interpreter as intended.
Blumentals Software Programmer
User avatar
Aivars
Blumentals Software Developer
 
Posts: 1916
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: PHP Preview as HTML

Postby pmk65 » Mon Dec 05, 2016 10:58 pm

An possible solution would be to write a small plugin that upon opening a .php file, replaces/wraps the PHP start/ending tags with HTML comments. And then do the reverse upon saving.
There are 10 types of people in the world: Those who understand binary and those who don't.
User avatar
pmk65
 
Posts: 317
Joined: Sun Dec 20, 2009 9:58 pm
Location: Copenhagen, Denmark


Return to HTMLPad / Rapid CSS / Rapid PHP / WeBuilder Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest