From: Andreas A. <a.a...@th...> - 2001-08-23 17:35:32
|
Hi Andris. > 2) whether you have enabled register_argc_argv and > register_globals in your php.ini file. OK. That was the problem. Fantastic. It works!! Some notes: 1) to get arount the register_global/arg stuff you can put this into the xml2php ini_set('register_globals', on); $argv = $HTTP_SERVER_VARS["argv"]; 2) The output for datasources is not quite correct. (see. Lang) global $QueryManager; $QueryManager->datasources = array(...) Uuups. I think i have to change init/qm as well to support the same format as in Lang. datasources( array(data), array(data) ); currently: datasources( 'hook' => array(data), 'hook2' => array(data) ); 3) We should find a way to have a the interpreter line in the php files more flexible through the different platforms. Perl has a trick to do so eval 'exec perl -S $0 "$@"' Maybe we find a way to handle that better. Andi |