Date: 09/16/00
- Next message: Arno A. Karner: "Re: [phplib] phplib + php4"
- Previous message: Max Derkachev: "Re: [phplib] phplib, and php4 sessions"
- In reply to: Maurice Jumelet: "Re: [phplib] phplib + php4"
- Next in thread: Chris Cochella: "Re: [phplib] phplib + php4"
- Reply: Chris Cochella: "Re: [phplib] phplib + php4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I had problems with phplib 7.2b's template class and PHP4 also. Upgrading to
phplib 7.2c fixes the problem but causes a new, small inconvenience, the END
block tag must be at the beginning of a new line. To make the class work
with old templates I replaced this line in function set_block($parent,
$handle, $name = ""):
$reg = "/<!--\s+BEGIN $handle\s+-->(.*)\n\s*<!--\s+END
$handle\s+-->/sm";
with this line (from phplib 7.2b):
$reg = "/<!--\s+BEGIN $handle\s+-->(.*)<!--\s+END $handle\s+-->/sm";
I removed the \n\s+, and then it works perfectly fine for me.
Brian
----- Original Message -----
From: "Maurice Jumelet" <maurice <email protected>>
To: "José Luis Gonçalves" <zeluis <email protected>>; <phplib <email protected>>
Sent: Saturday, September 16, 2000 8:54 AM
Subject: Re: [phplib] phplib + php4
> people need to upgrade to phplib 7.2c, there where some problems in the
> template.inc, I had.
>
> Also, i found another few problems bij converting in my other self-made
> code.
>
> Maurice
>
>
> ----- Original Message -----
> From: "José Luis Gonçalves" <zeluis <email protected>>
> To: <phplib <email protected>>
> Sent: Sunday, September 17, 2000 3:10 AM
> Subject: [phplib] phplib + php4
>
>
> > Hi !
> >
> > I'm instlalling a new server, i have some ppl that use phplib7 + php
3.0.x
> > in there sites, can i install php4 everyrhing will work the same.
> > I saw some posts related but i didn´t but not any of them conclusive !
> >
> > Tnx
> >
> > ZL
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> > For additional commands, e-mail: phplib-help <email protected>
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> For additional commands, e-mail: phplib-help <email protected>
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Arno A. Karner: "Re: [phplib] phplib + php4"
- Previous message: Max Derkachev: "Re: [phplib] phplib, and php4 sessions"
- In reply to: Maurice Jumelet: "Re: [phplib] phplib + php4"
- Next in thread: Chris Cochella: "Re: [phplib] phplib + php4"
- Reply: Chris Cochella: "Re: [phplib] phplib + php4"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

