|
|
| Next: Passing criteria to a database results region in .. |
| Author |
Message |
Cimbian External

Since: Feb 16, 2005 Posts: 35
|
Posted: Wed Feb 16, 2005 4:37 am Post subject: using PHP in frontpage 2003 Archived from groups: microsoft>public>frontpage>programming (more info?) |
|
|
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? |
|
| Back to top |
|
 |
Chris Leeds, MVP-FrontPag External

Since: Sep 09, 2004 Posts: 1344
|
Posted: Wed Feb 16, 2005 9:39 am Post subject: Re: using PHP in frontpage 2003 [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
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.
<a rel="nofollow" style='text-decoration: none;' href="http://contentseed.com/" target="_blank">http://contentseed.com/</a>
--
"Cimbian" wrote in message
> 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?
> |
|
| Back to top |
|
 |
Cimbian External

Since: Feb 16, 2005 Posts: 35
|
Posted: Wed Feb 16, 2005 9:39 am Post subject: Re: using PHP in frontpage 2003 [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
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).
"Chris Leeds, MVP-FrontPage" wrote:
> 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.
<font color=purple> > <a rel="nofollow" style='text-decoration: none;' href="http://contentseed.com/</font" target="_blank">http://contentseed.com/</font</a>>
> --
> > 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?
> >
>
>
> |
|
| Back to top |
|
 |
Chris Leeds, MVP-FrontPag External

Since: Sep 09, 2004 Posts: 1344
|
Posted: Wed Feb 16, 2005 12:38 pm Post subject: Re: using PHP in frontpage 2003 [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
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:
<a rel="nofollow" style='text-decoration: none;' href="http://contentseed.com/help/files/PHP_as_HTM-HTML.pdf" target="_blank">http://contentseed.com/help/files/PHP_as_HTM-HTML.pdf</a>
HTH
--
Chris Leeds,
Microsoft MVP-FrontPage
ContentSeed: great tool for web masters,
a fantastic convenience for site owners.
<a rel="nofollow" style='text-decoration: none;' href="http://contentseed.com/" target="_blank">http://contentseed.com/</a>
--
"Cimbian" wrote in message
> 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).
>
>
> "Chris Leeds, MVP-FrontPage" wrote:
>
> > 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.
<font color=green> > > <a rel="nofollow" style='text-decoration: none;' href="http://contentseed.com/</font" target="_blank">http://contentseed.com/</font</a>>
> > --
> > > 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?
> > >
> >
> >
> > |
|
| Back to top |
|
 |
Cimbian External

Since: Feb 16, 2005 Posts: 35
|
Posted: Wed Feb 16, 2005 12:38 pm Post subject: Re: using PHP in frontpage 2003 [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
Excellent, thanks Chris.
I will now dabble with confidence.
Cimbian
"Chris Leeds, MVP-FrontPage" wrote:
> 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:
<font color=purple> > <a rel="nofollow" style='text-decoration: none;' href="http://contentseed.com/help/files/PHP_as_HTM-HTML.pdf</font" target="_blank">http://contentseed.com/help/files/PHP_as_HTM-HTML.pdf</font</a>>
>
> HTH
>
> --
> Chris Leeds,
> Microsoft MVP-FrontPage
>
> ContentSeed: great tool for web masters,
> a fantastic convenience for site owners.
<font color=purple> > <a rel="nofollow" style='text-decoration: none;' href="http://contentseed.com/</font" target="_blank">http://contentseed.com/</font</a>>
> --
> > 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).
> >
> >
> > "Chris Leeds, MVP-FrontPage" wrote:
> >
> > > 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.
<font color=brown> > > > <a rel="nofollow" style='text-decoration: none;' href="http://contentseed.com/</font" target="_blank">http://contentseed.com/</font</a>>
> > > --
> > > > 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?
> > > >
> > >
> > >
> > >
>
>
> |
|
| Back to top |
|
 |
Chris Leeds, MVP-FrontPag External

Since: Sep 09, 2004 Posts: 1344
|
Posted: Wed Feb 16, 2005 1:20 pm Post subject: Re: using PHP in frontpage 2003 [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
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.
<a rel="nofollow" style='text-decoration: none;' href="http://contentseed.com/" target="_blank">http://contentseed.com/</a>
--
"Cimbian" wrote in message
> Excellent, thanks Chris.
>
> I will now dabble with confidence.
>
> Cimbian
>
> "Chris Leeds, MVP-FrontPage" wrote:
>
> > 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:
<font color=green> > > <a rel="nofollow" style='text-decoration: none;' href="http://contentseed.com/help/files/PHP_as_HTM-HTML.pdf</font" target="_blank">http://contentseed.com/help/files/PHP_as_HTM-HTML.pdf</font</a>>
> >
> > HTH
> >
> > --
> > Chris Leeds,
> > Microsoft MVP-FrontPage
> >
> > ContentSeed: great tool for web masters,
> > a fantastic convenience for site owners.
<font color=green> > > <a rel="nofollow" style='text-decoration: none;' href="http://contentseed.com/</font" target="_blank">http://contentseed.com/</font</a>>
> > --
> > > 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).
> > >
> > >
> > > "Chris Leeds, MVP-FrontPage" wrote:
> > >
> > > > 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.
<font color=brown> > > > > <a rel="nofollow" style='text-decoration: none;' href="http://contentseed.com/</font" target="_blank">http://contentseed.com/</font</a>>
> > > > --
> > > > > 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?
> > > > >
> > > >
> > > >
> > > >
> >
> >
> > |
|
| Back to top |
|
 |
Chevron7 External

Since: May 22, 2006 Posts: 10
|
Posted: Tue May 11, 2010 10:46 am Post subject: Re: using PHP in frontpage 2003 [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
Per Chris the php extension work-around link is now:
http://contentseed.com/docs/mime.pdf
"Chris Leeds, MVP-FrontPage" wrote:
> 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/
> --
> "Cimbian" wrote in message
>
> > 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).
> >
> >
> > "Chris Leeds, MVP-FrontPage" wrote:
> >
> > > 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/
> > > --
> > > "Cimbian" wrote in message
> > >
> > > > 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?
> > > >
> > >
> > >
> > >
>
>
> |
|
| Back to top |
|
 |
|
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
| |
|
|