-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi.
- --On Mittwoch, M�rz 20, 2002 17:55:12 +0100 Emiliano
<[EMAIL PROTECTED]> wrote:
>> I've got it ...
>
> Great! Does this mean the date is off?
If you don't have any further ideas about the eval problem (see below),
no need to take you away from your wife *grin*. I'll be in IRC
nevertheless.
>> I've played around with the cache files, thanks to your MMP,
>> Emiliano, great stuff *gg*.
>
> Much better, innit?
Yeah.
>> The line which caused the trouble (see the .html file of the other
>> mail) was the eval in this block:
>>
>> if($page && $myForm) {
>> /*
>> echo show_var("myForm", $myForm->output);
>> ?></td></tr></table></td></tr></table>
>> </td></tr></table>
>> </td></tr></table>
>> <table><tr><td>
>> <table><tr><td>
>> <table><tr><td width="50%" valign="top"><table width="100%"><tr><td
>> align="left" valign="top"><?
>> */
>> eval ("?>$myForm->output<?");
>> } else {
>>
>> If you change the eval to mgd_eval, everything works out fine.
>>
>> Seems like PHP has changed its eval during the update from 4.0.x to
>> 4.1.x.
>
> Any idea in what way it was changed? Does this eval generate an error,
> or does it fail silently? Anything midgard-specific in
> $myForm->output?
As far as I can see it, it is mostly <[]>-style calls in there. But
this is a general problem.
I know that in PHP 4.0.x eval("?><[something]><?") worked, and now it
doesn't work anymore. Since this problem happens to both MMP and
old-MM, I suspect no problem from our side.
For now it seems that I have to stick with either rewriting a lot of
code or again rebuilding our hosting server system or waiting until
there is a solution.
>> Since many projects rely on the eval (I've never bothered using
>> mgd_eval, though I knew it existed), we should find a way to make
>> this function working again... (Or make it clear that you've to use
>> mgd_eval and rewrite some code)
>
> If eval is buggy, Zend should fix it. I don't really want to alter the
> behaviour of the standard Zend eval. That way lie dragons.
I won't say buggy, more changed to something new. :-(
Do you know if there is a way to easily do a mapping that all eval's
are automatically translated into mgd_eval's?
Live long and prosper!
Torben Nehmer
- --
Torben Nehmer, Munich, Germany
http://www.nathan-syntronics.de, mailto:[EMAIL PROTECTED]
PGP Public Key ID on wwwkeys.(de.)pgp.net: 0x7E9DE456
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8mOcTJPh4Kn6d5FYRApd8AJ93CQbiDSodtbjjf+id5bFdmg/RvwCg3+2S
PihTP/g5jzK85xbFPKRrVN4=
=YgWx
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]