Forum Moderators: open

Message Too Old, No Replies

FrontPage 2002 tip when using php

It doesn't work...now it does?

         

ScottM

12:01 am on Apr 20, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I've spent most of the day working on some php stuff.

I was finding problems with a certain action when verifying a page while using FP2002. Sometimes the 'form validator' worked, sometimes it didn't...hmmm

I found that if I made any changes to the raw code (a .php page), I needed to save the file as .htm, then rename back to .php. Then it worked.

For exmaple:

I open up a .php file called www.gizmo.com/redgizmo.php with FP2002

I went into the 'html view' and made some changes, I even used 'normal view' to make some changes. I then saved it.

When I went to check the changes, and I had problems with the form.

I went back into FP2002, RENAMED www.gizmo.com/redgizmo.php to www.gizmo.com/redgizmo.htm and the RENAMED it BACK to www.gizmo.com/redgizmo.php and it worked.

Weird, but it worked.

I hope this helps some folks out there using FP2002 with other scripting languages.

pageoneresults

1:27 am on Apr 20, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Ah-ha! You need the PHP Rocket add-in for FP!

Description
Until now, developing PHP based web sites with a WYSIWYG HTML editor was a multi-stepped process. You'd need to layout your pages, open them in a text editor, add your PHP code, upload them to the server, test your pages, then repeat the process until you got it right. Now, with the PHP Rocket Add-in for FrontPage, you can do all your PHP development from FrontPage and preview the PHP'd pages right in FrontPage's Preview window.

I keep this site bookmarked as there are all sorts of goodies for FP functionality.

PHP Rocket [microsoft.com]