Re: [PHP] php 5.0.5 segfaults apache2 on ubuntu, 5.0.4 ok

2005-10-21 Thread Jon Hill
I think this could be related to your _destruct method Can't you just rely on the parent class destruct method? Sorry to be a bit vague, I'll look into it a little further. Jon I've just installed php 5.0.5 to newest ubuntu breezy and apache2 started (sometimes) segfaulting (teste two computers

Re: [PHP] php 5.0.5 segfaults apache2 on ubuntu, 5.0.4 ok

2005-10-21 Thread Jon Hill
Accessing this page means immeadiate apacha segfault and actual connection close. Anybody please test this on 5.0.5 and verify if it's reproducible. I am running PHP 5.0.5 on Apache 2 and get the following in my error log if I include the destruct method. Jon *** glibc detected ***

[PHP] currency class?

2005-08-08 Thread Jon Hill
Hi Does anyone know of a simple PHP Currency Class that is similar to the one in Java (java.util.currency)? I just need something that will provide methods such as getSymbol() and getDefaultFractionDigits() regards Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] novice: char to varchar

2005-05-19 Thread Jon Hill
You can't mix CHAR and VARCHAR types in the same table. jon On Wednesday 18 May 2005 19:15, tony yau wrote: Hi all, I try to do the following: CREATE TABLE IF NOT EXISTS Invoice( PKey INTEGER, Received DATETIME, Cost DECIMAL(10,2), FileName VARCHAR(50), RefNum CHAR(10),

Re: [PHP] Is it possible to save a file with UTF-8 encoding and noBOM using PHP?

2005-04-28 Thread Jon Hill
1. First I want to know how to make the actual binary file that is written, to be encoded as UTF-8. This is my PRIMARY question. I think this part is the key. If the string originated from your text editor, then your text editor needs to be in UTF-8 mode. If you are importing the data from a

Re: [PHP] Path to ImageMagick??

2004-11-25 Thread Jon Hill
The two programmes you will probably use are called 'convert' and 'mogrify' Usually found in /usr/bin if you are running Linux. Cyril On Thursday 25 November 2004 13:35, Aaron Wolski wrote: Hey all, How can I find out the path ImageMagick on my server the php is running on? Need it for a

[PHP] session.use_trans_sid

2004-11-12 Thread Jon Hill
Hello I have a site that has session.use_trans_sid = 1. It seems that the first time I visit a page when I open up my browser, URLs are getting rewritten even though a cookie IS being set. If I refresh or move on to another page, the problem goes away, i.e. no more session ids appended to

Re: [PHP] Help: Database Search

2004-11-10 Thread Jon Hill
You might want to try looking up the syntax for left join queries. I think this might be what you are after. http://dev.mysql.com/doc/mysql/en/JOIN.html On Wednesday 10 November 2004 14:37, Stuart Felenstein wrote: I am creating a database search form and results. Running into a problem

[PHP] problem compiling with openssl support

2003-12-17 Thread Jon Hill
Hi I cannot manage to compile openssl support into php. my configuration line is CPPFLAGS='-I/usr/local/include/' ./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr --with-gettext-dir=/usr --with-gd --with-png-dir=/usr --with-zlib-dir=/usr --with-jpeg-dir=/usr

Re: [PHP] problem compiling with openssl support

2003-12-17 Thread Jon Hill
cheers Adam, that now works Jon On Wednesday 17 December 2003 13:29, Adam Maas wrote: Jon Hill wrote: Hi I cannot manage to compile openssl support into php. my configuration line is CPPFLAGS='-I/usr/local/include/' ./configure --with-apxs=/usr/local/apache/bin/apxs

[PHP] wddx in sessions

2003-11-27 Thread Jon Hill
Hi I came across some strange session behaviour today using latest version of php under apache 1.3.29 on redhat 9. I am using a customer handler for the sessions, a simple mysql table. I am finding that the session data intermitently switches to wddx serialisation rather than the deault

[PHP] php daemon

2003-11-23 Thread Jon Hill
I have just been trying to work out the behaviour of running a php programm from BASH. If i execute ./my_program.php /var/log/mylog 21 and then terminate the controlling terminal I get a background process which has no controlling terminal, a parent process id of 1 and the process becomes a

[PHP] comparison efficieny

2003-11-12 Thread Jon Hill
I am sure I read somewhere that doing the following if (false === $variable) was a better option than if ($variable === false) maybe it was a dream or is there something in this? Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php