cotonti.com : PHP in PMs https://www.cotonti.com Neueste Themenbeiträge Cotonti en Thu, 29 Jan 2026 18:10:49 -0000 Trustmaster Orkan.]]> Fr, 05 Sep 2008 15:31:39 -0000 oc
It doesn't happen in forums but I can run js in the PM section. I'll fix the bug as soon as possible.

Maybe chili has some OTHER problems, only about showing the present code in the text, but what i was talking was, via PM, there is a critical bug.

Be aware!]]>
Fr, 05 Sep 2008 14:30:30 -0000
Orkan
FireBug shows two 2 recipes being loaded: php.js + html.js
I didnt debug it much, but Chili uses html.js recipe to highlight this code once again - and then the "<?PHP" is gone...

Chili is not the best script to debug (many small functions around) and FireBug sucks in FF3 - but I'll try to figure this out.]]>
Fr, 05 Sep 2008 09:09:24 -0000
oc
[highlight ]
<?PHP

echo '...';

?>
[/highlight]

it doesn't show the first line of it.]]>
Fr, 05 Sep 2008 05:23:45 -0000
Orkan Are we talking about code highlighting or executing PHP snippets here on forums?]]> Fr, 05 Sep 2008 03:26:16 -0000 oc
Btw Trustmaster, it doesn't replace "<" only, it sure doesn't execute a code.]]>
Do, 04 Sep 2008 21:27:45 -0000
Orkan First Chili uses php.js recipe and its looks good, but then html.js recipe is loaded and parsed.

With all-in-one recipes.js the problem is gone...]]>
Do, 04 Sep 2008 18:37:43 -0000
Trustmaster Do, 04 Sep 2008 17:46:04 -0000 oc
<?PHP

$L['hack'] = 'Hack';

?>

what the hell? i only checked for pms but i'm not sure... it parses <?php without making <'s to < or >

edit: yeah, if you check code, you'll see there's a <?php in the source html but not displayed.]]>
Do, 04 Sep 2008 17:36:27 -0000