[PHP] XSLT processing DocBook files -> FO

2003-03-25 Thread Colin Viebrock
I'm trying to automatically convert DocBook XML files into PDFs using PHP and the XSLT extension. First step is to convert them into FO, but I'm running into trouble with this script: 'USletter', 'page.orientation' => 'portrait', ); $html = xslt_process($xslt, $xml, $xsl, NULL, $args,

[PHP] gettext()

2001-08-20 Thread Colin Viebrock
I am interested in speaking to anyone who has used PHP's gettext() functionality on a fairly large website, preferably one that uses CVS for development. We are in the process of getting our site ready for i18n, and want to use gettext(). However, I'm a bit unsure on how to set up the file struc

Re: [PHP] array + checkbox

2001-08-08 Thread Colin Viebrock
> You will need some javascript to handle the checkbox' > onchange event because when the user clicks the > checkbox off and back on, the value will be 'on' - and > your if-condition will not work! Uh, no. When you submit the form, $voorraad will either be "something" or "", depending on w

Re: [PHP] associative arrays in html forms and javascript

2001-08-08 Thread Colin Viebrock
> > > > > > > > > and like that the text field won't focus and the parser tells me that > arraystuff has no properties and that inputfield is undefined. ... should work. - Colin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTE

Re: [PHP] array + checkbox

2001-08-08 Thread Colin Viebrock
> If( strcmp($voorraad[1],'on') == 0 ) > // it's checked > else > // it's not Alternatively, fix your HTML by using quotes and a value attribute: Then: if ($voorraad=='something') { // checked } - Colin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] Re: if(!$submit)

2001-08-07 Thread Colin Viebrock
> When using if (!$submit) I get an error saying: > Warning: Undefined variable: submit in C:\Inetpub\webpub\default.php on line > 1 > Fair enough, so then I add if (isset(!$submit)) and I then get an error; > Parse error: parse error, expecting `T_VARIABLE' or `'$'' > Could someone please tell m

[PHP] Re: can't get gettext() to work!

2001-08-03 Thread Colin Viebrock
"Richard Lynch" <[EMAIL PROTECTED]> wrote in message 050001c11be5$c93a81c0$6401a8c0@Lynchux100">news:050001c11be5$c93a81c0$6401a8c0@Lynchux100... > > setlocale(LC_ALL, ''); > > > putenv('LANG=fr');/* <<< changed here */ > > setlocale(LC_ALL, ''); > > WILD GUESS ALERT! > >

Re: [PHP] software localization with PHP

2001-08-02 Thread Colin Viebrock
I was just looking through the mailing list archives for some help with my gettext problem (basically, I can't get it to work). Anyway, I came across your post: > Thanks for the reply. This will not solve my problem. The problem is, for some > languages the sentence structure may be different.

Re: [PHP-CVS] cvs: php4 /ext/mcrypt mcrypt.c

2001-04-10 Thread Colin Viebrock
> Hello Guys, > > do you think this should be merged to the 4.0.5 branch? Otherwise Blowfish > (and others) encrypted get initialised with a too long key. That caused > them to be not compatible with encryptions/decryptions made by other > programs. As the poster of the original bug report, I str

Re: [PHP-CVS] cvs: php4 / NEWS

2001-03-26 Thread Colin Viebrock
> +- Modified get_parent_class() to accept a class name as well as a class > + instance. (Andrei, Zend engine) Can I make a request for get_class_methods() and get_class_vars() to accept class instances as well as a string? - Colin -- PHP CVS Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP-CVS] cvs: php4 /ext/midgard config.m4

2001-03-19 Thread Colin Viebrock
, Midguard seems to be code that is a "layer above" what I would feel belongs in the main PHP distribution. In the same way the DB abstraction class is (even the C version of it) ... and that they both belong in PEAR. Just my 2 cents (and given without intent to offend). -- C

Re: [PHP-CVS] cvs: php4 /ext/midgard config.m4

2001-03-19 Thread Colin Viebrock
, Midguard seems to be code that is a "layer above" what I would feel belongs in the main PHP distribution. In the same way the DB abstraction class is (even the C version of it) ... and that they both belong in PEAR. Just my 2 cents (and given without intent to offend). -- C

[PHP-CVS] cvs: php4 /pear/Net Dig.php

2001-03-13 Thread Colin Viebrock
Mon Mar 12 11:30:56 2001 +++ php4/pear/Net/Dig.php Tue Mar 13 09:40:24 2001 @@ -16,7 +16,7 @@ // | Authors: Colin Viebrock <[EMAIL PROTECTED]> | // +--+ // -// $Id: Dig.php,v 1.1 2001/03/12

[PHP-CVS] cvs: php4 /pear Makefile.in

2001-03-12 Thread Colin Viebrock
cmv Mon Mar 12 11:35:28 2001 EDT Modified files: /php4/pear Makefile.in Log: Forgot to add it here Index: php4/pear/Makefile.in diff -u php4/pear/Makefile.in:1.72 php4/pear/Makefile.in:1.73 --- php4/pear/Makefile.in:1.72 Thu Mar 1 23:52:56 2001 +++ ph

[PHP-CVS] cvs: php4 /pear/Net Dig.php

2001-03-12 Thread Colin Viebrock
. | // +--+ // | Authors: Colin Viebrock <[EMAIL PROTECTED]> | // +--+ // // $Id: Dig.php,v 1.1 2001/03/12 19:30:56 cmv Exp $ // // A nice friendly OO interface to dig // require_once('PEAR.php')

[PHP] Session-based authentication and Netscape 6 problems

2001-03-07 Thread Colin Viebrock
e redirecting is too big, then Netscape 6.x seems to receive all the data but not refresh the browser window to display the new data. This is more of a NS6/Mozilla bug than anything else. Just thought it might affect anyone here using session-based authentication. -- Colin Viebrock Co-Founder,

RE: [PHP-CVS] cvs: php4 /main main.c

2001-02-21 Thread Colin Viebrock
Would something like this solve bugs 9311 (and 9341) too? > + if (op_array != NULL) destroy_op_array(op_array); - Colin -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administra

[PHP-CVS] cvs: php4 /pear/Crypt CBC.php

2001-02-13 Thread Colin Viebrock
2001 +++ php4/pear/Crypt/CBC.php Tue Feb 13 13:53:48 2001 @@ -36,7 +36,7 @@ * the author of libcrypt decides to name things internally. * * -* @version $Id: CBC.php,v 1.5 2001/02/02 21:52:21 cmv Exp $ +* @version $Id: CBC.php,v 1.6 2001/02/13 21:53:48 cmv Exp $ * @author Colin Viebrock

Re: [PHP-CVS] cvs: php4 /ext/standard file.c file.h

2001-02-11 Thread Colin Viebrock
[Sun, 11 Feb 2001] Sterling Hughes said: > > > elixer Sat Feb 10 18:38:40 2001 EDT > > > > Modified files: > > /php4/ext/standard file.c file.h > > Log: > > Fix for bug #4556 > > # This is pretty much a total rewrite of get_meta_tags using a simple > > # handwritten

RE: [PHP-CVS] cvs: php4 /ext/sockets sockets.c

2001-02-02 Thread Colin Viebrock
> Well, sorry if it seemed harsh, but you tried to fix one problem and > introduced another without really understanding what needed to be done. True. I was relying on a fix somebody suggested. This is also why I noted in the CVS comments that somebody else should look at this. I'll be the fir

[PHP-CVS] cvs: php4 /pear/Crypt CBC.php

2001-02-02 Thread Colin Viebrock
/Crypt/CBC.php Fri Feb 2 13:52:21 2001 @@ -36,7 +36,7 @@ * the author of libcrypt decides to name things internally. * * -* @version $Id: CBC.php,v 1.4 2001/01/23 21:36:12 cmv Exp $ +* @version $Id: CBC.php,v 1.5 2001/02/02 21:52:21 cmv Exp $ * @author Colin Viebrock <[EMAIL PROTEC

RE: [PHP-CVS] cvs: php4 /ext/sockets sockets.c

2001-02-02 Thread Colin Viebrock
> Ok, I fixed it. Thanks ... although "bogus patch" is kinda harsh, don't you think? :) - Colin -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECT

RE: [PHP-CVS] cvs: php4 /ext/sockets sockets.c

2001-02-02 Thread Colin Viebrock
> > Well, isn't it slower? > > No, not really. Ok. > > The goal is to make getpeername() not seg-fault and core dump when > > I only call it with 2 args. :) > > What should the value of 'port' be by default, then? I dunno. If I call the function with: I guess it doesn't matter wh

RE: [PHP-CVS] cvs: php4 /ext/sockets sockets.c

2001-02-02 Thread Colin Viebrock
> What do you mean, switch() is expensive? Well, isn't it slower? > Uh-uh - can't do that. What is your goal here, if port is not passed, it > defaults to 0? The goal is to make getpeername() not seg-fault and core dump when I only call it with 2 args. :) - Colin -- PHP CVS Mailing List (htt

[PHP-CVS] cvs: php4 /ext/sockets sockets.c

2001-02-02 Thread Colin Viebrock
cmv Fri Feb 2 12:55:27 2001 EDT Modified files: /php4/ext/sockets sockets.c Log: Fix for http://bugs.php.net/bugs.php?id=9082 I know switch() is expensive, so someone rewrite this "properly" if you want. Index: php4/ext/sockets/sockets.c dif

[PHP-CVS] cvs: php4 /pear DB.php

2001-02-02 Thread Colin Viebrock
cmv Fri Feb 2 09:59:31 2001 EDT Modified files: /php4/pear DB.php Log: I think this should've been changed as well, right? Index: php4/pear/DB.php diff -u php4/pear/DB.php:1.46 php4/pear/DB.php:1.47 --- php4/pear/DB.php:1.46 Thu Feb 1 21:24:3

[PHP-CVS] cvs: php4 /pear/DB common.php

2001-02-01 Thread Colin Viebrock
cmv Thu Feb 1 12:16:53 2001 EDT Modified files: /php4/pear/DB common.php Log: fix here too Index: php4/pear/DB/common.php diff -u php4/pear/DB/common.php:1.35 php4/pear/DB/common.php:1.36 --- php4/pear/DB/common.php:1.35Tue Jan 9 17:01:53

[PHP-CVS] cvs: php4 /pear PEAR.php.in

2001-02-01 Thread Colin Viebrock
cmv Thu Feb 1 12:15:09 2001 EDT Modified files: /php4/pear PEAR.php.in Log: trigger_error() should be ($msg,$level), no? Index: php4/pear/PEAR.php.in diff -u php4/pear/PEAR.php.in:1.13 php4/pear/PEAR.php.in:1.14 --- php4/pear/PEAR.php.in:1.13 Tue J

[PHP-CVS] cvs: php4 / php.ini-dist

2001-02-01 Thread Colin Viebrock
cmv Thu Feb 1 07:41:04 2001 EDT Modified files: /php4 php.ini-dist Log: While we're fixing the ini files, change these to web-safe colours ... this always bugged me :) Index: php4/php.ini-dist diff -u php4/php.ini-dist:1.67 php4/php.ini-dist

[PHP-CVS] CVS is down?

2001-01-30 Thread Colin Viebrock
Can't seem to update ... - Colin -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-CVS] cvs: php4 /pear/Crypt CBC.php

2001-01-23 Thread Colin Viebrock
/pear/Crypt/CBC.php Tue Jan 23 13:36:12 2001 @@ -36,7 +36,7 @@ * the author of libcrypt decides to name things internally. * * -* @version $Id: CBC.php,v 1.3 2001/01/13 20:34:35 cmv Exp $ +* @version $Id: CBC.php,v 1.4 2001/01/23 21:36:12 cmv Exp $ * @author Colin Viebrock <[EM

[PHP-CVS] cvs: php4 /pear Makefile.in

2001-01-23 Thread Colin Viebrock
cmv Tue Jan 23 13:09:55 2001 EDT Modified files: /php4/pear Makefile.in Log: Forgot this too ... Index: php4/pear/Makefile.in diff -u php4/pear/Makefile.in:1.65 php4/pear/Makefile.in:1.66 --- php4/pear/Makefile.in:1.65 Tue Jan 23 13:08:13 2001 +++ php4

[PHP-CVS] cvs: php4 /pear Makefile.in

2001-01-23 Thread Colin Viebrock
cmv Tue Jan 23 13:08:13 2001 EDT Modified files: /php4/pear Makefile.in Log: Never added this ... Index: php4/pear/Makefile.in diff -u php4/pear/Makefile.in:1.64 php4/pear/Makefile.in:1.65 --- php4/pear/Makefile.in:1.64 Fri Jan 19 21:39:26 2001 +++ php

[PHP-CVS] cvs: php4 /ext/mcrypt mcrypt.c

2001-01-13 Thread Colin Viebrock
cmv Sat Jan 13 12:55:15 2001 EDT Modified files: /php4/ext/mcryptmcrypt.c Log: Support for perl-compatible blowfish encryption (in libmcrypt CVS and versions later than 2.4.8) Index: php4/ext/mcrypt/mcrypt.c diff -u php4/ext/mcrypt/mcrypt.c:1.43 ph

[PHP-CVS] cvs: php4 /pear/Crypt CBC.php

2001-01-13 Thread Colin Viebrock
,v 1.2 2001/01/13 20:33:54 cmv Exp $ +* @version $Id: CBC.php,v 1.3 2001/01/13 20:34:35 cmv Exp $ * @author Colin Viebrock <[EMAIL PROTECTED]> * @author Mike Glover <[EMAIL PROTECTED]> * -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECT

[PHP-CVS] cvs: php4 /pear/Crypt CBC.php

2001-01-13 Thread Colin Viebrock
/Crypt/CBC.php:1.1 Thu Jan 11 14:51:20 2001 +++ php4/pear/Crypt/CBC.php Sat Jan 13 12:33:54 2001 @@ -14,6 +14,7 @@ // | [EMAIL PROTECTED] so we can mail you a copy immediately. | // +--+ // | Authors: Colin Viebrock

[PHP-CVS] cvs: php4 /pear/Crypt CBC.php

2001-01-11 Thread Colin Viebrock
ately. | // +--+ // | Authors: Colin Viebrock <[EMAIL PROTECTED]> | // +--+ // /** * Class to emulate Perl's Crypt::CBC module * * Blowfis