using PHP in frontpage 2003

C

Cimbian

I am just starting to get to grips with PHP5 scripting to access a MySQL
database.

I typed php into the FP2003 help search box and it found nothing so I am
wondering if all that is required is to paste my PHP script into the HTML?

Anyone?
 
C

Chris Leeds, MVP-FrontPage

there are several ways to make working with PHP in FrontPage much more
comfortable.

It's not as tough as it may seem at first.

If you're using FrontPage 2003 it's all pretty easy and there are very few
work-arounds or countermeasures you need to take.

what is it that you're trying to do (factually)?

--
Chris Leeds,
Microsoft MVP-FrontPage

ContentSeed: great tool for web masters,
a fantastic convenience for site owners.
http://contentseed.com/
 
C

Cimbian

Chris,

I don't mean to sound trite but I don't know....

Basically the end result is to have a database driven site (not with carts
and stuff) and a means of monitoring where my downloads are going to, with
another option to restrict access to only my staff for documents they may
need in the field.

Right now though I am concentrating on just getting 'something' to work as I
learn the language (I am an old 'C' coder).
 
C

Chris Leeds, MVP-FrontPage

OK,
you should be able to put your PHP code right in FrontPage 2003. Just use
split view or code view. I've found that fp03 handles the <? and ?> just
fine.

sometimes if FrontPage tries to mess with the delimiters or change them to
"help" you, you can use <script language="php"> and </script> and FrontPage
will leave it be.

another good work-around when FrontPage gets to "grabby" with your code is
to set your cursor in the page where you want your script and hit insert/web
component/ advanced control/ HTML Mark-up. paste or type your PHP code into
that dialog box. Note.... you don't have to repeat that process for every
insertion. You can simply copy and paste an existing HTML Mark-up web bot
wherever you want and double click it to reveal the dialog box where you can
paste or type additional PHP code.

If you like using FrontPage components such as FrontPage includes, nav bars,
etc. You'll find that FrontPage doesn't like to apply them to pages with
the php extension. there's a work-around for that too:
http://contentseed.com/help/files/PHP_as_HTM-HTML.pdf

HTH

--
Chris Leeds,
Microsoft MVP-FrontPage

ContentSeed: great tool for web masters,
a fantastic convenience for site owners.
http://contentseed.com/
--
 
C

Chris Leeds, MVP-FrontPage

sure,
if you get in a jam, feel free to contact me right through the site in my
sig.

--
Chris Leeds,
Microsoft MVP-FrontPage

ContentSeed: great tool for web masters,
a fantastic convenience for site owners.
http://contentseed.com/
--
 

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