FrontPage corrupting PHP

D

Doug Stewart

I've put some PHP code in my FrontPage files and then uploaded.
Unfortunately, FrontPage corrupts PHP. I've found the following site which
advises how to prevent this:
http://office.microsoft.com/en-gb/assistance/HA011092991033.aspx

What do I lose (e.g. things that will stop working due to functionality
being turned off) by following these instructions?

One of the instructions is:
Use ASP-like <% and %> tags instead of the <? php?> tags. This stops
FrontPage from reformatting your PHP code.

My PHP code begins with "<?php" and ends with "?>". Do I just replace both
by "<%" ?

Regards,
Doug
 
S

Steve Easton

Yes

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
T

Thomas A. Rowe

You loose nothing, as ;long as your web host is willing to configure the PHP engine for your account
to use <% and %>, otherwise your PHP scripts will not run.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top