RE: [PHP-GENERAL] html to php
| From: | Ted Knudson | Date: | Wed, 14 Jun 2000 10:35:31 +0000 |
| Subject: | RE: [PHP-GENERAL] html to php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-1827@lists.php.net to get a copy of this message | ||
I am curious. I do not see any advantage.
Why would you want to do this?
Ted Knudson
http://www.automatedcabinets.com
http://www.pulsarusa.com
> -----Original Message-----
> From: Antonio Guerrieri [mailto:ant@inet2you.com]
> Sent: Wednesday, June 14, 2000 3:39 AM
> To: php-general@lists.php.net
> Subject: Re: [PHP-GENERAL] html to php
>
>
> Hi all,
> I have appreciated your suggestions :-) but I'm looking for something
> which can parse a html line like:
>
> <title>This is the title tag</title>
>
> and tranform it to a php line:
>
> echo "<title>This is the title tag</title>";
>
> also transforming special characters (ex.: " to \"....)
>
> Try to imagine why...
>
> I know I can write a word macro (but I want to remain under linux...)
> or a perl script. Is there something ready?
>
> Thank you again
>
>
> >Hi all,
> >
> >Does anyone know of a way to cause apache to run a document through
> >its standard
> >html parser (whatever handles server side includes) AFTER it
> >processes the php?
> >
> >-Ryan
> >
> >
> >On Tue, Jun 13, 2000 at 02:48:03PM -0700, php3@developersdesk.com wrote:
> >> Addressed to: Antonio Guerrieri <ant@inet2you.com>
> >> php-general@lists.php.net
> >>
> >> ** Reply to note from Antonio Guerrieri <ant@inet2you.com> Tue, 13
> >>Jun 2000 19:11:05 +0200
> >> >
> >> > Hi, list, is there something to translate a html page to a php
> >> > script? I'm looking for something like webalchemy wich translate
> >> > html to oracle pl/sql.
> >> >
> >>
> >>
> >> mv filename.html filename.php
> >>
> >>
> >>
> >> is a pretty good start. About the only thing I've found that
> php can't
> >> handle when you move a .html file over to .php is SSI. Apache manages
> >> SSI and that does not happen for .php files.
> >>
> >>
> >> I have not seen anything to automatically update SSI in a .html files
> >> to the equivallent php, but they are usually pretty easy. Key things
> >> to consider:
> >>
> >>
> >>
> >> http://www.php.net/manual/language.basic-syntax.php
> >>
> >> http://www.php.net/manual/function.phpinfo.php
> >>
> >> http://www.php.net/manual/function.virtual.php
> >>
> >> http://www.php.net/manual/function.require.php
> >>
> >> http://www.php.net/manual/function.include.php
> >>
> >>
> >>
> >>
> >> Rick Widmer
> >> Internet Marketing Specialists
> >> www.developersdesk.com
> >>
> >> --
> >> 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
> >---end quoted text---
> >
> >--
> >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
>
> --
>
> ___________________________________________________________________
> Antonio Guerrieri
> Laboratorio Progetto Reti
> Dipartimento di Ingegneria dell'Innovazione - Universita' di Lecce
> c/o Ed. Stecca
> Strada per Arnesano
> 73100 Lecce
> Italy
> tel. +39 832 320310
> fax +39 832 320279
> mailto:antonio.guerrieri@unile.it
>
>