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,
ately. |
// +--+
// | Authors: Colin Viebrock <[EMAIL PROTECTED]> |
// +--+
//
/**
* Class to emulate Perl's Crypt::CBC module
*
* Blowfis
/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
,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
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
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
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
/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
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
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,
. |
// +--+
// | 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')
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
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
, 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
, 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
> +- 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
> 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
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.
"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!
>
>
> 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
> 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
>
>
>
>
>
>
>
>
> 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
> 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
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
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]
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
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
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
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
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
> 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
> > 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
> 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
/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
> 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
[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
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
37 matches
Mail list logo