Hi,
sets the value of the var to be parsed later.

HTH

Andrey

----- Original Message -----
From: "John Wards" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 13, 2002 12:58 PM
Subject: Re: [PHP] Php lib?


> Thanks for that rather handy!
>
> Does anyone know what the function set_var() does in template.inc in
phplib?
> I persume it has something to do with the template system.....but thats as
> much as I have figured out!!
>
> I am going to replace the phplib template system with Smarty there is not
a
> converter for this(wishful thinking! anything for an easy life)
>
> My boss set me this task before he went on holiday...I am sure he is
bloody
> laghing his socks off right now! I wondered why he never bothered porting
> this for PHP4!
>
> Arrrrrrrrrrgh!
>
> John
> > > Anyone got any handy hints on how to convert scripts running
> > > on PHP3 and
> > > PHPlib?
> >
> > 1. Roughly speaking, page_open() goes to session_start():
> >
> > Old:
> > page_open(array("sess" => "my_web_Session"));
> >
> > New:
> > session_start();
> >
> > 2. page_close() goes away; if you don't have time to remove all those
> calls,
> > write your own page_close() function that simply returns true.
> >
> > 3. Use functions instead of methods for managing the session variables.
> For
> > example, for the object $sess created in step 1 above:
> >
> > Old:
> > $sess->register('firstName');
> >
> > New:
> > session_register('firstName');
> >
> > Brings back fond memories - not! ;)
> >
> > Kirk
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to