[PHP] mysql_close() and mysql_free_result() don't seem to work in PHP 4.3.4 or 5.0.1. A bug?

2004-08-29 Thread William
Since posting the original copy of this message -- which, in 10 hours, never appeared on this newsgroup -- I upgraded from PHP version 4.3.4 to 5.0.1. Unfortunately, the same exact problem persists. I'm starting to believe this is a bug in PHP's MySQL memory management functions. Original

Re: [PHP] mysql_close() and mysql_free_result() don't seem to work in PHP 4.3.4 or 5.0.1. A bug?

2004-08-29 Thread John Nichel
William wrote: Since posting the original copy of this message -- which, in 10 hours, never appeared on this newsgroup -- I upgraded from PHP version 4.3.4 to 5.0.1. Unfortunately, the same exact problem persists. I'm starting to believe this is a bug in PHP's MySQL memory management

Re: [PHP] mysql_close() and mysql_free_result() don't seem to work in PHP 4.3.4 or 5.0.1. A bug?

2004-08-29 Thread William
I can accept that as a workaround, but I was hoping to do more than merely mute the warnings. Is there a way to truly use the connection and result set handles? Can PHP truly utilize it's own connection resource handles in code? Bottom Line: This is going to make a real mess when multiple

Re: [PHP] mysql_close() and mysql_free_result() don't seem to work in PHP 4.3.4 or 5.0.1. A bug?

2004-08-29 Thread John Nichel
William wrote: I can accept that as a workaround, but I was hoping to do more than merely mute the warnings. Is there a way to truly use the connection and result set handles? Can PHP truly utilize it's own connection resource handles in code? Bottom Line: This is going to make a real mess

Re: [PHP] mysql_close() and mysql_free_result() don't seem to work in PHP 4.3.4 or 5.0.1. A bug?

2004-08-29 Thread William
If you read the code I posted, you'd see that I am sending valid resources. :) As I explained, I lifted the technique directly from the PHP documentation. Now, if you can see a bug in my implementation of this technique, by all means, please point it out. -- -- William Kimball, Jr.

Re: [PHP] mysql_close() and mysql_free_result() don't seem to work in PHP 4.3.4 or 5.0.1. A bug?

2004-08-29 Thread John Nichel
William wrote: If you read the code I posted, you'd see that I am sending valid resources. :) As I explained, I lifted the technique directly from the PHP documentation. Now, if you can see a bug in my implementation of this technique, by all means, please point it out. Please limit replies

Re: [PHP] mysql_close() and mysql_free_result() don't seem to work in PHP 4.3.4 or 5.0.1. A bug?

2004-08-29 Thread William
Why waste time by turning this into an attack? (A rhetorical question, please don't bother addressing it.) I'm pressing for a better answer now because the workaround you posted simply ignores the problem and because you implied that you got these functions to work -- presumably without having

Re: [PHP] mysql_close() and mysql_free_result() don't seem to work in PHP 4.3.4 or 5.0.1. A bug?

2004-08-29 Thread John Holmes
William wrote: Why waste time by turning this into an attack? (A rhetorical question, please don't bother addressing it.) I'm pressing for a better answer now because the workaround you posted simply ignores the problem and because you implied that you got these functions to work -- presumably

Re: [PHP] mysql_close() and mysql_free_result() don't seem to work in PHP 4.3.4 or 5.0.1. A bug?

2004-08-29 Thread John Nichel
William wrote: Why waste time by turning this into an attack? (A rhetorical question, please don't bother addressing it.) I'm pressing for a better answer now because the workaround you posted simply ignores the problem and because you implied that you got these functions to work -- presumably

Re: [PHP] mysql_close() and mysql_free_result() don't seem to work in PHP 4.3.4 or 5.0.1. A bug?

2004-08-29 Thread John Nichel
John Holmes wrote: Programming languages do not make things up. If you say mysql_close($anyvariable) and PHP says that $anyvariable is not a MySQL connection resource, then it's not. No, it's not. Shh. It's not. If you can reduce what you're seeing to the smallest amount of code possible and

Re: [PHP] mysql_close() and mysql_free_result() don't seem to work in PHP 4.3.4 or 5.0.1. A bug?

2004-08-29 Thread William
The problem turned out to be a run-time bug with object instances (of the same class) stepping on each other. More specifically, PHP doesn't seem to differentiate between a flat script-level $ovConn object and a new instance of $ovConn that gets fired up in an unrelated object's method at

Re: [PHP] mysql_close() and mysql_free_result() don't seem to work in PHP 4.3.4 or 5.0.1. A bug?

2004-08-29 Thread John Nichel
William wrote: snip Please keep your responses professional; this newsgroup/list is the first contact for people needing help with PHP -- even if it's their own fault. Your enflamed, emotionally charged reactions help no one and seem only to serve your own ego. This matter is closed. Good day.