php

  • Thread starter Thread starter DianaH
  • Start date Start date
D

DianaH

Has anyone used php with frontpage or is it just too much like trying to mix
humans with crododiles. I've been looking into using Mambo for a site where
someone else needs to upload files to that site and Mambo provides for that
.... but man ... it's so out of my league. I'm wondering if there's some way
to pick off some of the script for use in frontpage to capture some of the
features it has to offer.

I'd appreciate any insights.
Diana
 
DianaH said:
Has anyone used php with frontpage or is it just too much like trying to mix
humans with crododiles.

It's possible, Frontpage 2003 itself shows PHP pages somewhat ok in
code view. But the code editor in FP is quite bad for non-html
editing. I'd rather use a separate code file e.g. add
<?php require_once('scripts/functionCollection1.php'); ?>
as a first line in your "html" pages, and edit that code file using
some good editor (you can ask in comp.lang.php). I'm using the free
SciTE and the configuration file
http://donnerwetter.kielikeskus.helsinki.fi/html.properties

In FP you also can configure which external editors to use (Tools,
Options, Configure editors : php, Alt+N add new), so you can use
something else&better for the PHP editing.
I've been looking into using Mambo for a site where
someone else needs to upload files to that site and Mambo provides for that
... but man ... it's so out of my league. I'm wondering if there's some way
to pick off some of the script for use in frontpage to capture some of the
features it has to offer.

Frontpage isn't capable of running ASP or PHP code, you need a
server app for this (for example IIS is included in XP Pro, and for
php you'd have to additionally install php from www.php.net). If
this is Mambo CMS you're talking about, the source code is free/GPL,
so you can go to the Mambo homepage and download the code package
and copy parts of the code. Wading through the huge amounts of code
would be tricky, I'd assume, so maybe you'd rather
http://dave.imarc.net/php/ and see "fileupload class".

The same is easy in ASP too, google "pure asp file upload".

- Jan
 
Thanks Jan,
You've given me a lot ot think about. It's new space for me ... it's a
little further outside of the box that I planned for right now ... but I
guess I'll be wading through it.
Thanks again.
Diana
 
Back
Top