All my files have the extension .html but contain php code. So on my webserver I use
AddType x-mapp-php5 .php .html
AddHandler x-mapp-php5 .php .html
to get them to be parsed by PHP.
How to do that in preview mode of WeBuilder?
Files with extension .php are shown correctly in preview mode. So these settings are correct.
Thanks for any help.
How can I parse html files through PHP.exe?
Moderator: kfury77
Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
Please try to follow these guidelines. This will help to receive faster and more accurate response.
- Check the Support section of the corresponding product first. Chances are you will find your answer there;
- Do not create new topics for already reported problems. Add your comments to the existing topics instead;
- Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
- Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
- Include the version number of the software you are using;
- This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Re: How can I parse html files through PHP.exe?
Hi Mark. I got nothing on top of my head on this. But while waiting for a reply, what version are you using?
PHP newbie 

Re: How can I parse html files through PHP.exe?
Sorry. Version should be latest one 11.2.2.131.
Re: How can I parse html files through PHP.exe?
Hi,
You could try adding html as a PHP file type.
Go to Options -> Preferences -> Document Type -> PHP and add html to the list. I would also remove html from the HTML document types.
Don't know if this will help, but worth a try.
Mike
You could try adding html as a PHP file type.
Go to Options -> Preferences -> Document Type -> PHP and add html to the list. I would also remove html from the HTML document types.
Don't know if this will help, but worth a try.
Mike