Date: 09/06/01
- Next message: Richard Archer: "Re: [phplib] Some problem in template class with php4.0.6"
- Previous message: Richard Archer: "[phplib] Re: [Phplib-users] DB class"
- Next in thread: Richard Archer: "Re: [phplib] Some problem in template class with php4.0.6"
- Reply: Richard Archer: "Re: [phplib] Some problem in template class with php4.0.6"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
I'm using phplib7.2c, and upgrade php from 4.0.2pl to 4.0.6. A problem was found, please see the example. The example is ok which run in php4.0.2, but run in php4.0.6 would output error.
<shell.html>
============
{IC}<br>
============
<test.php>
============
<?
include("template.inc");
$tmp = "$100";
echo $tmp."<br>"; <== There will be output "$100"
$t = new Template;
$t->set_file("page", "shell.html");
$t->set_var("IC", $tmp);
$t->parse("out", "page");
$t->p("out"); <== There will be output "0", run in php4.0.6
?> There will be output "$100", run in php4.0.2
===============
- Next message: Richard Archer: "Re: [phplib] Some problem in template class with php4.0.6"
- Previous message: Richard Archer: "[phplib] Re: [Phplib-users] DB class"
- Next in thread: Richard Archer: "Re: [phplib] Some problem in template class with php4.0.6"
- Reply: Richard Archer: "Re: [phplib] Some problem in template class with php4.0.6"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

