Re: [PHP] Can php convert doc to HTML?

2006-05-23 Thread Koen Martens
Dotan Cohen wrote:
 This may be far-fetched, but can php convert a doc file to HTML? I
 vaguely remember a thread that discussed converting pdf's, but I
 cannot find reference to either that or to doc in the manual. Any
 input would be appreciated.
 
 If php cannot do this, then could someone recommend a tool that runs
 on linux that can do the conversion in batch? I have ~200 files to
 convert.

I looked at this briefly once, and you might find the OpenOffice.org
libraries useful. Iirc, they allow one to use OpenOffice.Org
functionality from other programs, but i don't know any details. You
might want to browse their site a bit.

Best,

Koen

-- 
K.F.J. Martens, Sonologic, http://www.sonologic.nl/
Networking, hosting, embedded systems, unix, artificial intelligence.
Public PGP key: http://www.metro.cx/pubkey-gmc.asc
Wondering about the funny attachment your mail program
can't read? Visit http://www.openpgp.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Running two versions of PHP locally

2006-05-20 Thread Koen Martens
Scott Hurring wrote:
 On 5/19/06, John Hicks [EMAIL PROTECTED] wrote:

[snip]

 It looks like 'application/x-httpd-php' is the default type for php4.
 Does php5 have a different type? Is there a way to explicitly assign a
 new type to a module?

[snip]

 I'd be interested to know if anyone does get both php4  php5 modules
 installed together without file extention hints or port proxying.

[snip]

I took a quick look, and just changing the type to x-httpd-php5 for
example (by editting the source) is not enough. The two modules are
in eachothers way, there are double free's and segfaults that are
not easy to find when you load both modules in one apache (at least,
not for someone who is not an apache/php source code expert).

Gr,

Koen

-- 
K.F.J. Martens, Sonologic, http://www.sonologic.nl/
Networking, hosting, embedded systems, unix, artificial intelligence.
Public PGP key: http://www.metro.cx/pubkey-gmc.asc
Wondering about the funny attachment your mail program
can't read? Visit http://www.openpgp.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Encryption Advice

2006-05-19 Thread Koen Martens
Lawrence Kennon wrote:
 I use a directive to tell gpg to not warn me about
 using insecure memory but since no private keys
 reside on this host I think I can safely ignore that
 (they can't steal what is not there).

But your unencrypted data is there, so someone could possibly snoop
that from the insecure memory.

Gr,

Koen

-- 
K.F.J. Martens, Sonologic, http://www.sonologic.nl/
Networking, hosting, embedded systems, unix, artificial intelligence.
Public PGP key: http://www.metro.cx/pubkey-gmc.asc
Wondering about the funny attachment your mail program
can't read? Visit http://www.openpgp.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php