Re: [PHP] Re: hay

2002-07-21 Thread Rad0s-ław Gajewski
On Sun, 21 Jul 2002, Richard Lynch wrote: ++>I don't use Classes. How it is possible?:))) I prefer OOP and I use it as much as possible even in PHP ++>> $this=&$GLOBALS["cache"]; ++>I would not expect this to work. ++>PHP is going to finalize and return the class, and you're assignment t

Re: [PHP] Classes Constructor syntax

2002-07-17 Thread Rad0s-ław Gajewski
++>PHP does not support multiple constructors. but you can easily evade this obstacle: class A { function A($parm1,$parm2=false) { if (!$parm2) { $this->OneArgConstructor($parm1); } else { $this->TwoArg

Re: [PHP] Getting users monitor size

2002-06-09 Thread Rad0s-ław Gajewski
On Sun, 9 Jun 2002, Tom Ray wrote: ++>Is there a way to do this with PHP? I couldn't find it in the online ++>docs and the archive search is offline :( oh..You couldn't? echo ' What's your monitor size? '; Users monitor size is in $HTTP_GET_VARS["size"];