Re: Integration with Front Page 2000 question...
| From: | Yurais Fernandez Leal | Date: | Sat, 24 Jun 2000 14:48:57 +0000 |
| Subject: | Re: Integration with Front Page 2000 question... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-2910@lists.php.net to get a copy of this message | ||
No no no
it's this simple:
<HTML>
<HEAD><TITLE> FOO </TITLE>
<BODY bgcolor="#000000">
<H1>a phpinfo dump</H1>
<%
phpinfo();
%>
</BODY>
</HTML>
in fact you don't have to set the stuff in the start of your page,
making reference to Lanugage or something, and you don not have to
poen the tag followed by php
Regards and
PD: Read the manual :-)
On Fri, 23 Jun 2000, Brett Zamora wrote:
bzamor: Hi Masood,
bzamor:
bzamor: I made the changes that you stated and I'm still not seeing the results.
bzamor: Here is a copy of a test page I am using to help me understand what you
bzamor: described.
bzamor:
bzamor: <html>
bzamor: <%@ Language=PHP%>
bzamor: <head>
bzamor: <meta http-equiv="Content-Language" content="en-us">
bzamor: <meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
bzamor: <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
bzamor: <meta name="ProgId" content="FrontPage.Editor.Document">
bzamor: <title>Test Page</title>
bzamor: </head>
bzamor:
bzamor: <body>
bzamor:
bzamor: <table border="0" cellpadding="2" width="100%">
bzamor: <tr>
bzamor: <td width="100%" align="center">This Is A Test Page</td>
bzamor: </tr>
bzamor: <tr>
bzamor: <td width="100%" align="center">
bzamor: <%php
bzamor: phpinfo();
bzamor: %>
bzamor: </td>
bzamor: </tr>
bzamor: <tr>
bzamor: <td width="100%" align="center">The PHP configuration should
be
bzamor: displayed
bzamor: above.</td>
bzamor: </tr>
bzamor: </table>
bzamor:
bzamor: </body>
bzamor:
bzamor: </html>
bzamor:
bzamor:
bzamor: I updated my php3.ini file and turned ASP tags to On, restarted the server,
bzamor: no change. Any additional suggestions?
bzamor:
bzamor: Thanks,
bzamor:
bzamor: Brett
bzamor:
bzamor:
bzamor:
bzamor:
bzamor:
bzamor:
bzamor:
bzamor: "Masood Nasir" <masood@one.net.pk> wrote in message
bzamor: news:Pine.LNX.4.10.10006231135140.4056-100000@mail.one.net.pk...
bzamor: >
bzamor: > Try using ASP tags % instead of ? <% %> :-)
bzamor: >
bzamor: > You can also enable them in php3.ini (asp_tags). Hope this helps.
bzamor: >
bzamor: > -- Regards,
bzamor: > -- Masood Nasir :-) [Systems Engineer] - http://www.masood.net ;)
bzamor: > -- One Net, Lahore, Pakistan. <http://www.one.net.pk>
bzamor: >
bzamor: > On Thu, 22 Jun 2000, Brett Zamora wrote:
bzamor: >
bzamor: > > Hi,
bzamor: > >
bzamor: > > I currently use Front Page 2000 as my tool for designing simple web
bzamor: pages.
bzamor: > > I've found that it is a good tool for doing layout work. Once I've
bzamor: finished
bzamor: > > the layout work and I'm ready to integrate my PHP3 code, I've been
bzamor: running
bzamor: > > my HTML through a conversion program I wrote that basically converts the
bzamor: > > entire HTML file to PHP3 statements. This has worked fine for me up to
bzamor: this
bzamor: > > point, however, I've finally reached the point where I'd like to just
bzamor: leave
bzamor: > > my HTML alone and embed my PHP3 snippets inside of my HTML. The problem
bzamor: that
bzamor: > > I'm running into is that the Front Page editor treats the PHP3
bzamor: statements
bzamor: > > like text and it screws the alignment and the visual effect of using the
bzamor: > > editor. I've tried wrapping the PHP3 code with the Script Language tags
bzamor: and
bzamor: > > the <!--hide tags, etc. This works well for the visual development
bzamor: process,
bzamor: > > however, when I upload my pages to the server, (Linux 6.2 / Apache with
bzamor: > > PHP3, IMAP, MySql support compiled in), the PHP interpreter fails to
bzamor: > > recognize the embeded PHP statements, until I remove the Script Language
bzamor: &
bzamor: > > hide tags. Is there anyway around this? I suppose I could run my HTML
bzamor: > > through a program before uploading it, similar to what I'm doing now,
bzamor: except
bzamor: > > that the program would strip out the Script Language tags, etc. I'm just
bzamor: > > posting this message in hopes that I'm missing a really simple solution
bzamor: that
bzamor: > > I just can't seem to see.
bzamor: > >
bzamor: > > Thanks,
bzamor: > >
bzamor: > > Brett
bzamor: > >
bzamor: > >
bzamor: > >
bzamor: > >
bzamor: > > --
bzamor: > > PHP General Mailing List (http://www.php.net/)
bzamor: > > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
bzamor: > > For additional commands, e-mail: php-general-help@lists.php.net
bzamor: > > To contact the list administrators, e-mail: php-list-admin@lists.php.net
bzamor: > >
bzamor: >
bzamor: >
bzamor: > --
bzamor: > PHP General Mailing List (http://www.php.net/)
bzamor: > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
bzamor: > For additional commands, e-mail: php-general-help@lists.php.net
bzamor: > To contact the list administrators, e-mail: php-list-admin@lists.php.net
bzamor: >
bzamor:
bzamor:
bzamor:
bzamor:
--
----------------------------------
Yurais Fernández Leal
MediRed Network SysAdmin.
yurais@medired.scu.sld.cu
http://www.scu.sld.cu/
ICQ: 33792610 ICQ-GW: 1031
Phone: (53) 226-54204
------------