Re: [PHP] Help! Apache 2.2 gives segmentation fault errors with PHP.

2006-02-16 Thread Olaf Greve
Hi all, Yesterday I had trouble when configuring Apache 2.2 with PHP 4.4.2, which caused Apache to crash (segmentation fault) when calling various PHP functions. Just before heading home I encountered the source of the issue, as well as the solution. The hint to the answer resided in the

Re: [PHP] installing php 4.4.2 on windows system

2006-02-16 Thread Olaf Greve
Hi Paul, I have been developing a php website. I have been ftping my php web pages to a webserver and that works hkowever I don't have an error log on the webserver. So I downloaded apache 2.0.55. I am doing a manual installation and I am at the point where it tells me where to place the

[PHP] Help! Apache 2.2 gives segmentation fault errors with PHP.

2006-02-15 Thread Olaf Greve
): [...] [Wed Feb 15 15:12:38 2006] [notice] caught SIGTERM, shutting down [Wed Feb 15 15:12:41 2006] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Wed Feb 15 15:12:41 2006] [warn] RSA server certificate CommonName (CN) `Olaf Greve' does NOT match server name

[PHP] How to output multiple tables nicely(!) from PHP in Excel format?

2006-02-08 Thread Olaf Greve
Hi, One of our clients is a true Excel wizard and in order to enable his highly advanced sheets to become available for others as well (editable and all), I have created a PHP version of his Excel sheets which uses a MySQL DB for storage. I shall spare you all the technical intricacies of

Re: [PHP] How to output multiple tables nicely(!) from PHP in Excel format?

2006-02-08 Thread Olaf Greve
Hi all, I've written a ArrayToExcel(XML) class, you're welcome to use if you wish. May need a bit of tweaking to get the colspan working (I haven't touched it in quite a while). But the process itself I think is rather nice :) http://projects.londonis.co.uk/arraytoexcel/ Thanks for your

[PHP] How to destroy HTTP authentication (from PHP)?

2006-02-01 Thread Olaf Greve
Hi all, Alright: here's a bit of a challenge (so as to avoid the word issue) ;) my colleagues have run into previously: how to kill HTTP authentication... I remember that they never did figure that one out, and I too will now have to get my hands dirty with trying to find a proper way to do

Re: [PHP] How to destroy HTTP authentication (from PHP)?

2006-02-01 Thread Olaf Greve
Hi Jochem (and others), save the 'authenticated' state in the session; only send out the http auth headers when: 1. the user is not authenticated 2. the page is should be protected logging out would then clear the 'authenticated' state from the SESSION now I probably didn't explain that very

[PHP] Problems with GZIPped content in some cases?!?

2006-01-31 Thread Olaf Greve
ideas, can they please let me know (off-list in case the reply is deemed off-topic for this list)? Thank you all kindly in advance, and with kind regards, Olaf Greve ? ob_start(); ob_implicit_flush(0); function CheckCanGzip(){ global $HTTP_ACCEPT_ENCODING; global $HTTP_HOST

Re: [PHP] Re: Problems with GZIPped content in some cases?!?

2006-01-31 Thread Olaf Greve
Hi Barry (and others), Thanks for your answer! This is surely a browser problem. I already feared as much... The nasty thing is that due to this some of the end users of our client are losing confidence in the way the application works. Disabling GZIP is not really what I want to do