Request: Additional PHP Doc Types

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!
Post Reply
wonderness
Posts: 1
Joined: Fri Aug 22, 2008 11:11 pm

Request: Additional PHP Doc Types

Post by wonderness »

I request additional document types for built-in web server.

1) In Preferences >> Document Types >> PHP change the description to read "These settings are for determining file types, affect syntax highlighting and code writing features, and sending to the php pre-processor."
2) In the wonderful built-in web server, use this php document types list to enable the php pre-processor.

For my current work, I adopted the file naming convention described by Larry Ullman in his book "PHP 5 ADVANCED", a Visual Quickpro Guide. That is, use "*.inc.htm" to name a file which is a php include file which has both php and htm tags.

I used this extension ".inc.htm" for a simple table based htm form and using php variables. The preview using the built-in web server gave me only a simple htm interpretation. When I changed the extension on the file to ".php", the preview also showed the php interpretation. Nice, but not the desired extension.

Kind regards,
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Re: Request: Additional PHP Doc Types

Post by chrisjlocke »

If you changed your file extension to '*.inc_htm' then you would be able to use this functionality.
Even Windows will get confused with .inc.htm files and treat them as .htm files. File extensions are usually the last part of a filename.

Karlis may be able to fulfil your request, but I'm just trying to suggest a workaround you might be able to use now.
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Re: Request: Additional PHP Doc Types

Post by syrupcore »

I had a similar thought chris. this isn't really a webuilder issue - it's a windows issue. It would be nice though, for sure. Lemme go call bill...
Post Reply