Re: [PHP] Re: Syntax problem - dynamic static member access

2004-11-07 Thread Jake Press
Jason Barnett wrote: Jake, as you probably already know you usually have to give the class name when attempting to get a static variable, i.e. YourClassName::$bob; You *can* dynamically refer to a static class variable from within an object without knowing the name of the class; this is what sel

Re: [PHP] PHP Accelerator

2004-11-07 Thread Danny Brow
On Sun, 2004-11-07 at 07:55 +0200, Jyry Kuukkanen wrote: > On Sun, 7 Nov 2004, raditha dissanayake wrote: > > > David wrote: > > > > > I need a PHP accelerator but am not sure which one to use. I would > > > highly prefer to not use a commercial accelerator and need one that > > > works with PH

Re: [PHP] PHP Accelerator

2004-11-07 Thread Klaus Reimer
raditha dissanayake wrote: this one: - Turck MMCache for PHP Turck MM Cache does not work with PHP 5. It's possible to compile and load it and some pages are working but most of the time it segfaults. By the way: Does anybody know if the Turck MM Cache project is still active? The last change in CV

Re: [PHP] Object oriented??

2004-11-07 Thread Robert Cummings
On Sun, 2004-11-07 at 01:37, Larry E.Ullman wrote: > >> Yes of course...but was confused since some says it is so and some > >> says it > >> is not...So thought of asking the pros.. > > > > It is. PHP4 had limited support for OOP, though it was quite usable. > > PHP5 goes further and provides pret

Re: [PHP] Re: NMax

2004-11-07 Thread M. Sokolewicz
count() is prefered over mysql_num_rows, because the later requires a full resultset to be tranfered, while the first doesn't. (so, the 2nd is more resource intensive if you don't require the resultset) [EMAIL PROTECTED] wrote: Yeah definitely use COUNT(*) or mysql_num_rows() function. Nate -

[PHP] Re: Syntax problem - dynamic static member access

2004-11-07 Thread M. Sokolewicz
hi, it's a limitation, and not allowed in PHP. There was a whole line of posts about it in internals. - Tul Jake Press wrote: Hello All, I am having an interesting syntax problem. :( I have been battling this little bugger for the last week and a half, I have exhausted google and numerous php ch

[PHP] Re: Adding to a Date

2004-11-07 Thread M. Sokolewicz
Matt Cassarino wrote: Hi, I am trying to add "x" days to the current date for a calendar program that I am writing. "x" represents any integer from 1 to 7. So, for x=4, the program will get the current date 2004-11-06 and add 4 days to it: 2004-11-10 I need it to account for the next month if I

Re: [PHP] Object oriented??

2004-11-07 Thread Jonel Rienton
From a theoretical stand point, for a language to be OO, it should support encapsulation, inheritance and polymorphism On Nov 7, 2004, at 2:26 AM, Robert Cummings wrote: On Sun, 2004-11-07 at 01:37, Larry E.Ullman wrote: Yes of course...but was confused since some says it is so and some says it i

[PHP] pspell problems

2004-11-07 Thread Noodles
I've spent the last 6 hours or so trying to get pspell going on my php install, version 4.3.9. I've searched all over the net, but haven't found a solution. I'm using debian so I'm using the packaged version of php4 and apache. I installed aspell using apt-get and then downloaded and compiled p

[PHP] Javascript and php

2004-11-07 Thread Reinhart Viane
Hey all, Hope some of you also work on sundays :) I have a little javascript which displays a images (with previous / next thing) Now, i populate the javascript array with an php array: