faqts : Computers : Programming : Languages : PHP : Installation and Setup : Frontpage

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

99 of 140 people (71%) answered Yes
Recently 7 of 10 people (70%) answered Yes

Entry

How do I edit PHP files without Frontpage changing the code on me?

Apr 3rd, 2001 11:51
xendra .com,


If you are editing PHP with FrontPage (the FP editor), then you should 
stop. FP always messes up the code because it assumes it is HTML-based 
and parses the code and adds tags that it feels may be missing.

If you want to edit PHP code using FP, then you will need to set up an 
external editor. I use UltraEdit with PHP extensions for color syntax 
highlighting.

To set up an external editor in FP, go to Tool | Options and click on 
the "Configure Editors" tab.

Once your external editor is set up, you can double click on a PHP file 
in your FP web and FP will open your editor and put the file you double-
clicked on into it for editing. Make your changes and save them. Close 
the editor. FP then automatically publishes your changes back to your 
FP web.