Re: Integration with Front Page 2000 question...

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

« previous php.general (#2833) next »