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
PHP Preview as HTML
Moderator: kfury77
Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
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".
Re: PHP Preview as HTML
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
-
- Posts: 2
- Joined: Fri Dec 02, 2016 10:42 am
Re: PHP Preview as HTML
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.
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.

Re: PHP Preview as HTML
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.
I think you should try doing it the right way and install the php interpreter as intended.
Blumentals Software Programmer
Re: PHP Preview as HTML
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.