If you can get the CLI (command line version working), you may be able to do

$array= unserialize(exec("tokenizer_wrapper.php $file"));

<?php
echo serialize(token_get_all($_SERVER['argv'][1]));
?>

kludgy but would solve it...

Regards
Alan



David Bradford wrote:
OK, so I get everything working and try to click the Aegir CMS (Slow)
link... and I get just <[login]>

I searched the midgard-user archives and found a message that said this is
because I've got $extended_parser set to 1 (extended parser) in
midgard_config.class instead of 2 (extended parser with tokenizer).

But if I set it to 2, I get the error:


Fatal error: Call to undefined function: token_get_all()


Complicating this issue is that I have to preserve Cobalt's bastardized
version PHP 4.0.6 in order to not break the Cobalt Admin interface, so I
can't just do an rpm upgrade of PHP.

So I've installed another PHP package specifically developed by a
third-party software group, which provides PHP 4.2.3 capability thru
mod_php for the Cobalt RaQ 550 without breaking Cobalt's PHP 4.0.6. That
works fine. But the problem is I can't recompile the newer version to add
in --enable-tokenizer because the 4.2.3 package was developed by someone
else, and I'm just not the Linux guru to dive in and try to recompile it
(plus I don't have their source).

Midgard Lite seems not so 'lite' anymore! Can anyone point me in a
direction towards resolving these issues? Any advice deeply appreciated.

David Bradford
Information Services Director, LPA, Inc.
Home: (503) 203-1043
Cell: (503) 341-9519




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



--
Can you help out?
Need Consulting Services or Know of a Job?
http://www.akbkhome.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to