ResourcesForWebsites.comTop-rated free and inexpensive tools, tips and tutorials to help you design, build and maintain your website!
|
| ResourcesForWebsites.comTop-rated free and inexpensive tools, tips and tutorials to help you design, build and maintain your website!
|
Top-rated free and inexpensive tools, tips and tutorials to help you design, build and maintain your website!
Top-rated free and inexpensive tools, tips and tutorials to help you design, build and maintain your website!
Top-rated free and inexpensive tools, tips and tutorials to help you design, build and maintain your website!
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:
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:
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.
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:Disable features that create ASP or ASP.NET code
If the Web server that runs your PHP pages can also run ASP, do the following:
Enable
and use ASP-style <% %>
code delimiters
asp_tags="1"
.
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
More on Frontpage and PHP
Send us an email to: Copyright Benivia, LLC, 2005
Send us an email to: Copyright Benivia, LLC, 2005
Send us an email to: Copyright Benivia, LLC, 2005
Send us an email to: Copyright Benivia, LLC, 2005
Send us an email to: Copyright Benivia, LLC, 2005 |