Microsoft FrontPage Tips and WorkArounds, Including PHP
You can still use FrontPage, even with PHP. Here are some of the tips, tricks and work-arounds.
General FrontPage Resources:
- AccessFP - FrontPage Resource Centre - tips, tutorials, and more!
- AnyFrontpage.com - forum with a many FrontPage related topics.
- AnyFrontpage.com Bytes - newsletter
- At-FrontPage -- FrontPage help, tips, tutorials, links and resources for FrontPage 98, FrontPage 2000 & FrontPage 2002!
- FrontPageInfo.com -- Build a better Web site!
- FrontPage World - All about Microsoft FrontPage
- FrontPagePortal.com -- The name says it all -- You can truly find just about anything relating to FrontPage here.
- FrontPage Users Forums -- Timeforweb.com operates a very useful set of forums for users of FrontPage.
- John Galt's Tools -- FrontPage templates, PowerPoint templates, design services and tutorials.
- Solution Shelf - FrontPage articles, tools, FrontPage templates, and advanced guidance
- Themes In Design -- Provide FrontPage professional designs at affordable prices with unique themes and templates.
Tutorials
- At-FrontPage - many tutorials
- AccessFP
- FrontPage Tutorials at webworksite.com
- IceMocha's Tutorials
Other Frontpage Tips
Using FrontPage with PHP
Frontpage doesn't like to play well with PHP. Why? Well, Frontpage IS a Microsoft product and they don't make any money off of PHP (which is free) and they DO sell a product that is similar in functionality (ASP / VB). But, Frontpage CAN be made to play with PHP reasonably well, here's how:
- Using PHP with FrontPage 2003 - Microsoft's own pages on the subject. Adapted from Microsoft Office FrontPage 2003 Inside Out by Jim Buyens.
- PHP Rocket Add-in for FrontPage
PHP Rocket Add-In for FrontPage- Orders The PHP Rocket Add-in is available for $39.95 to be able to execute PHP from inside of FrontPage!
Three choices for placing your order:
- Use our Secure Order Form to purchase the PHP Rocket Add-in right now.
- Mail or Fax your order to us at (909)748-0950 using our printable order form.
- Call in your order at (909)335-3440.
- download a FREE 30 day trial now.
Other Tips
Q. What is the benefit of using ASP style tags when coding PHP in FrontPage?
A. FrontPage will not modify anything between <% and %> period. The same is mostly true with <?php and ?> except when you embed them inside a tag's parameter. For example,
<FONT FACE="<% echo "$fontname"; %>" SIZE="2"> will work better than using standard PHP tags.Q. So then how do I get PHP to recognize ASP style tags?
A. You need to set asp_tags = On; in the PHP.ini file that is either in your windows folder (usually C:\windows or C:\winnt) or in the folder where php.exe is installed.
Change settings in FrontPage 2003
Before you can use PHP with FrontPage 2003, you must make the following changes to settings in FrontPage:
Disable features that require the FrontPage Server Extensions
If the Web server that runs your PHP pages has the FrontPage Server Extensions from Microsoft installed, do the following:- On the Tools menu, click Page Options, and then click the Authoring tab.
- Under FrontPage and SharePoint technologies, clear the SharePoint Services and Browse-time Web Components check boxes.
Disable
features that create ASP or ASP.NET code
- On the Tools menu, click Page Options, and then click the Authoring tab.
- Under Browsers, clear the Active Server Pages check box.
Enable
and use ASP-style
<% %>
code delimiters
- Open the
php.ini (The
master configuration file for PHP that you can customize to help you
control the way PHP works on your site) file on the Web
server, and set
asp_tags="1"
. - Use ASP-like <% and %> tags instead of the <? php?> tags. This stops
FrontPage from reformatting your PHP code.
Note As an alternative, you can use <script language="php"> and </script> tags instead of <? php?> tags.
Configure PHP file extensions to open in Design view
- On the Tools menu, click Options, and then click the Configure Editors tab.
- In the Extensions list, locate and select the .php file extension. If the .php extension does not appear in the list, you must add it.
- In the Editors list, select FrontPage (Open as HTML).
- Click Make Default.
More on Frontpage and PHP