Re: Make Frontpage generate PHP/MySQL query?
From: Stefan B Rusynko (sbr_enjoy_at_hotmail.com)
Date: 10/13/04
- Previous message: JohnC: "Banner graphic"
- In reply to: Chris Leeds, MVP-FrontPage: "Re: Make Frontpage generate PHP/MySQL query?"
- Next in thread: Chris Leeds, MVP-FrontPage: "Re: Make Frontpage generate PHP/MySQL query?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 13 Oct 2004 04:39:55 -0400
They are both server side "processors"
IMHO never mix 2 server side "processors"
- work in one or the other in a page (better still a site)
How will each talk to the other server side
How will each know how to start (which file extension will you use .php or .asp)
Switching will probably end your session in ASP
-- _____________________________________________ SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ] "Warning - Using the F1 Key will not break anything!" (-; To find the best Newsgroup for FrontPage support see: http://www.net-sites.com/sitebuilder/newsgroups.asp _____________________________________________ "Chris Leeds, MVP-FrontPage" <Leeds@mvps.org> wrote in message news:uybP3MKsEHA.2788@TK2MSFTNGP09.phx.gbl... | I do not want that. ;-) | | I would like to have an .asp file read the output of a php script and then | write that into the page. I wonder if that's possible? | | -- | Chris Leeds, | Microsoft MVP-FrontPage | | Make More Money with Less Work | Let Your Clients Control Their Content With Just A Browser! | http://contentseed.com/ | -- | "Thomas A. Rowe" <tarowe@mvps.org> wrote in message | news:Oh83vfJsEHA.4032@TK2MSFTNGP12.phx.gbl... | > Chris, you can not run PHP scripts on a ASP, as the ASP dll doesn't know | how to handle PHP coding | > unless you want to the page to run access both the ASP and PHP dlls. | > | > -- | > ============================================== | > Thomas A. Rowe (Microsoft MVP - FrontPage) | > WEBMASTER Resources(tm) | > http://www.ycoln-resources.com | > FrontPage Resources, WebCircle, MS KB Quick Links, etc. | > ============================================== | > To assist you in getting the best answers for FrontPage support see: | > http://www.net-sites.com/sitebuilder/newsgroups.asp | > | > "Chris Leeds, MVP-FrontPage" <Leeds@mvps.org> wrote in message | > news:uB8c8xIsEHA.3324@TK2MSFTNGP15.phx.gbl... | > > nah, that's just a way to make FrontPage not freak out about the <? | tags. | > > I'm wondering about running php on an .asp page. | > > | > > btw, <? ?> shows as a script block just like <% %> does in design view | of | > > FrontPage 2003. I think another good way to get FrontPage not to freak | out | > > with php is not using the <? ?> at all and just surrounding the code | with | > > <script language="php"> </script>. | > > but to keep FrontPage functionality I like to just set the server to | process | > > php code on an htm/html page. I have instructions on how to do this | here: | > > http://contentseed.com/help/files/PHP_as_HTM-HTML.pdf | > > it's amazing how everything in FrontPage "stays normal" and you can use | any | > > FrontPage component such as include page, nav bars, etc. which you | can't do | > > if the page has a .php extension. | > > | > > -- | > > Chris Leeds, | > > Microsoft MVP-FrontPage | > > | > > Make More Money with Less Work | > > Let Your Clients Control Their Content With Just A Browser! | > > http://contentseed.com/ | > > -- | > > "Don" <Don@cccccccccc.com> wrote in message | > > news:#xYh4MIsEHA.556@tk2msftngp13.phx.gbl... | > > > Hi Chris, | > > > | > > > The link I gave was to an excerpt from Jim Buyens Book "FrontPage 2003 | > > > Insideout".. | > > > http://office.microsoft.com/en-us/assistance/HA011092991033.aspx | > > > | > > > Half way down the page is.. | > > > | > > > "Change settings in FrontPage 2003 | > > > Before you can use PHP with FrontPage 2003, you must make the | following | > > > changes to settings in FrontPage: " | > > > | > > > So maybe Jim Buyens can shed some light on the subject? | > > > | > > > Just a thought | > > > | > > > Don | > > > ==================== | > > > "Chris Leeds, MVP-FrontPage" <Leeds@mvps.org> wrote in message | > > > news:eetIBcGsEHA.2196@TK2MSFTNGP15.phx.gbl... | > > > | I've tried the same thing, sort of. I've even switched the typical | <? | > > to | > > > | <script language="php"> and </script> to no avail also. | > > > | | > > > | maybe it is just a theoretical thing that people "say" but nobody | has | > > ever | > > > | done. | > > > | | > > > | -- | > > > | Chris Leeds, | > > > | Microsoft MVP-FrontPage | > > > | | > > > | Make More Money with Less Work | > > > | Let Your Clients Control Their Content With Just A Browser! | > > > | http://contentseed.com/ | > > > | -- | > > > | "Ronx" <ronx917@hotmail.com> wrote in message | > > > | news:OilsurFsEHA.2096@TK2MSFTNGP11.phx.gbl... | > > > | > Chris, | > > > | > | > > > | > The syntax is | > > > | > <% @ Language=Perlscript %> | > > > | > | > > > | > to use Perl as the asp scripting language. | > > > | > | > > > | > My server runs PHP pages, but does not recognise PHP as a | scripting | > > > | language | > > > | > when used in ASP pages. I also have not been able to find the how | for | > > > | PHP. | > > > | > I checked the PHP documentation at www.php.net (which uses Google | for | > > > | > searches). | > > > | > | > > > | > -- | > > > | > Ron Symonds (Microsoft MVP - FrontPage) | > > > | > | > > > | > Reply only to group - emails will be deleted unread. | > > > | > "Chris Leeds, MVP-FrontPage" <Leeds@mvps.org> wrote in message | > > > | > news:%23xpK7WFsEHA.3076@TK2MSFTNGP10.phx.gbl... | > > > | > > Thanks in advance Ronx, | > > > | > > I've googled a little and found no mention of exactly HOW, but | lots | > > of | > > > | > > comments that you COULD. Figured it was the usual "scholarly" | > > > | > > proclamations | > > > | > > without any real-world practice to back it up. ;-) | > > > | > > | > > > | > > -- | > > > | > > Chris Leeds, | > > > | > > Microsoft MVP-FrontPage | > > > | > > | > > > | > > Make More Money with Less Work | > > > | > > Let Your Clients Control Their Content With Just A Browser! | > > > | > > http://contentseed.com/ | > > > | > > -- | > > > | > > "Ronx" <ronx917@hotmail.com> wrote in message | > > > | > > news:eXYxiKFsEHA.736@tk2msftngp13.phx.gbl... | > > > | > >> The books are right. | > > > | > >> | > > > | > >> I don't recall the exact details, but the first line on the | page | > > > should | > > > | > >> be | > > > | > >> something like | > > > | > >> | > > > | > >> @language=PHP | > > > | > >> | > > > | > >> I'll see what I can find. | > > > | > >> | > > > | > >> -- | > > > | > >> Ron Symonds (Microsoft MVP - FrontPage) | > > > | > >> | > > > | > >> Reply only to group - emails will be deleted unread. | > > > | > >> | > > > | > >> "Chris Leeds, MVP-FrontPage" <Leeds@mvps.org> wrote in message | > > > | > >> news:e7Ku3$EsEHA.3080@TK2MSFTNGP15.phx.gbl... | > > > | > >> > Ronx, | > > > | > >> > Maybe you know this; | > > > | > >> > I've seen in books and on the net where they say ".asp isn't | a | > > > | > > programming | > > > | > >> > language but a platform, you can use vbscript, jscript...." | some | > > go | > > > | on | > > > | > > to | > > > | > >> > say you could even use php code on an .asp page. | > > > | > >> > | > > > | > >> > I've seen the "you could even use php on an .asp page" | several | > > > times | > > > | > >> > but | > > > | > >> > none of these places say HOW. | > > > | > >> > | > > > | > >> > Does anyone know HOW this might be done? | > > > | > >> > | > > > | > >> > TIA | > > > | > >> > | > > > | > >> > -- | > > > | > >> > Chris Leeds, | > > > | > >> > Microsoft MVP-FrontPage | > > > | > >> > | > > > | > >> > Make More Money with Less Work | > > > | > >> > Let Your Clients Control Their Content With Just A Browser! | > > > | > >> > http://contentseed.com/ | > > > | > >> > -- | > > > | > >> > "Ronx" <ronx917@hotmail.com> wrote in message | > > > | > >> > news:OMn6T1CsEHA.2904@TK2MSFTNGP15.phx.gbl... | > > > | > >> >> The PHP interpreter's .ini file can be set to use ASP tags, | as | > > > well | > > > | as | > > > | > >> >> the | > > > | > >> >> native <? tags. Of course, the set up has to be done on the | > > > server. | > > > | > >> >> | > > > | > >> >> -- | > > > | > >> >> Ron Symonds (Microsoft MVP - FrontPage) | > > > | > >> >> | > > > | > >> >> Reply only to group - emails will be deleted unread. | > > > | > >> >> "David Baxter" <spam-me@junkmail.com> wrote in message | > > > | > >> >> news:OHaT3wAsEHA.416@TK2MSFTNGP10.phx.gbl... | > > > | > >> >> > Question: when using those "ASP-like tags", what does that | do | > > to | > > > | the | > > > | > >> >> > php | > > > | > >> >> > interpreter? why doesn't it confuse it? | > > > | > >> >> > | > > > | > >> >> > "Don" <Don@cccccccccc.com> wrote in message | > > > | > >> >> > news:%23kjIeHAsEHA.3520@TK2MSFTNGP11.phx.gbl... | > > > | > >> >> >> You Might have already looked at this but I thought I | would | > > > give | > > > | > >> >> >> you | > > > | > >> >> > the | > > > | > >> >> >> link... | > > > | > >> >> >> | > > > http://office.microsoft.com/en-us/assistance/HA011092991033.aspx | > > > | > >> >> >> | > > > | > >> >> >> Helpful hints like..... | > > > | > >> >> >> | > > > | > >> >> >> Use ASP-like <% and %> tags instead of the <? php?> tags. | > > This | > > > | > >> >> >> stops | > > > | > >> >> >> FrontPage from reformatting your PHP code. | > > > | > >> >> >> | > > > | > >> >> >> HTH | > > > | > >> >> >> | > > > | > >> >> >> Don | > > > | > >> >> >> ================== | > > > | > >> >> >> "jolness" <jolness@hotmail.com> wrote in message | > > > | > >> >> >> news:21c401c4afff$6f790560$a501280a@phx.gbl... | > > > | > >> >> >> | I'm trying to use Frontpage to automatically generate | PHP | > > > | > >> >> >> | scripts that will enable me to access a MySQL database. | > > > | > >> >> >> | Is there an easy way to do that, or must I write the | PHP | > > > | > >> >> >> | code by hand? | > > > | > >> >> >> | > > > | > >> >> >> | > > > | > >> >> > | > > > | > >> >> > | > > > | > >> >> | > > > | > >> >> | > > > | > >> > | > > > | > >> > | > > > | > >> | > > > | > >> | > > > | > > | > > > | > > | > > > | > | > > > | > | > > > | | > > > | | > > > | > > > | > > | > > | > | > | |
- Previous message: JohnC: "Banner graphic"
- In reply to: Chris Leeds, MVP-FrontPage: "Re: Make Frontpage generate PHP/MySQL query?"
- Next in thread: Chris Leeds, MVP-FrontPage: "Re: Make Frontpage generate PHP/MySQL query?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading