Can I get some help with using Php in Frontpage?

P

Phrank

I have been developing web sites in Dreamweaver for two years. I have a
customer who wants me to take over for a web developer who has been
developing the site in Frontpage. I can't seem to get it kickstarted.

I am using Frontpage 2003 /Windows XP / IIS ver 5.1 on my local pc. My PC
works great with Dreamweaver on XP and IIS.

In Frontpage under help it tells you to do 4 things to make it Php
compatible. I have done that. Found here
http://office.microsoft.com/en-us/a...1092991033.aspx

No matter what I try Frontpage ignores php commands. Here is the code I am
trying to get to work:

-------------------------------------------------------

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
</head>

<body>
Hi
<? echo "Well hi to you"; ?>
</body>

</html>

-------------------------------------------------------


It says Hi but not Well hi to you.

I have used <?php instead of just <?. I have also used <%. All to no avail.

Again just learning Frontpage but under "Site Settings" - General - It says
"Server Version:" No server in use.

How do I tell it to use my PC and look at IIS?
 
S

Sparky Polastri

FrontPage is an editor, not a parser of PHP.

What happens when you use a browser to view your test file?

Do you have PHP server installed on your test machine?
 
P

Phrank

Sparky Polastri said:
FrontPage is an editor, not a parser of PHP.

What happens when you use a browser to view your test file?

Do you have PHP server installed on your test machine?

Yes. In Dreamweaver when you set up a site it asks you what server
technology you want to use. You tell it Php and locally. From then on looks
locally for the Php engine. I guess I don't know how to do this with
Frontpage yet.

Do I need to tell FP2003 something about what server to use and whether it
is local or remote? If so where to you do that?
 
B

Brenda

I have Apache installed on my computer to handle the PHP locally. I can't
see the PHP results in FrontPage itself, but I just keep a browser window
open on the local site and use that instead of the preview pane in
FrontPage.

hth,

Brenda
 
R

rich

I have Apache installed on my computer to handle the PHP locally. I can't
see the PHP results in FrontPage itself, but I just keep a browser window
open on the local site and use that instead of the preview pane in
FrontPage.

hth,

Brenda

I have the same setup and is actually beneficial. Since you're already using
Frontpage to edit your documents, you have immediate access to modify or create
PHP code in them also. Would a bit of a pain having to open the same file up in
a different editor and potentially run into problems with one editor overwriting
changes of another. If you're trying to preview changes, save the file as a
different name temporarily.

Rich
 

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