Re: [PHP] Class Problems

2009-08-11 Thread la...@garfieldtech.com
Ashley Sheridan wrote: On Tue, 2009-08-11 at 17:57 +0200, Aschwin Wesselius wrote: Ashley Sheridan wrote: And I really would use a PHP 5 server given the choice. I've tried speaking to the hosting company a few times, but they brush me off! Hi Ashley, And how is their SLA then? Do you take

Re: [PHP] Class Problems

2009-08-11 Thread Ashley Sheridan
On Tue, 2009-08-11 at 17:57 +0200, Aschwin Wesselius wrote: > Ashley Sheridan wrote: > > And I really would use a PHP 5 server given the choice. I've tried > > speaking to the hosting company a few times, but they brush me off! > > > Hi Ashley, > > And how is their SLA then? Do you take full re

Re: [PHP] Class Problems

2009-08-11 Thread Aschwin Wesselius
Ashley Sheridan wrote: And I really would use a PHP 5 server given the choice. I've tried speaking to the hosting company a few times, but they brush me off! Hi Ashley, And how is their SLA then? Do you take full responsibility in case of a security breach? PHP 4 is way long ago and there a

Re: [PHP] Class Problems

2009-08-11 Thread Ashley Sheridan
On Tue, 2009-08-11 at 10:40 -0500, la...@garfieldtech.com wrote: > The "private" keyword was added in PHP 5. PHP 4 doesn't have visibility > identifiers. In PHP 4 you have to use "var", which is then always public. > > Or you could just use PHP 5 instead of a dead language. :-) > > Ashley Sher

Re: [PHP] Class Problems

2009-08-11 Thread la...@garfieldtech.com
The "private" keyword was added in PHP 5. PHP 4 doesn't have visibility identifiers. In PHP 4 you have to use "var", which is then always public. Or you could just use PHP 5 instead of a dead language. :-) Ashley Sheridan wrote: Hey all, Is there any reason why this shouldn't work correctly

RE: [PHP] class problems

2001-10-18 Thread Valentin V. Petruchek
Sorry and thanks - have not use it before/ But i've tried this: qtable = 'val'; return $this->qtable; } } echo test::showName(); ?> worked :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

RE: [PHP] class problems

2001-10-18 Thread Matt Williams
ROTECTED]] > Sent: 18 October 2001 14:39 > To: [EMAIL PROTECTED] > Subject: Re: [PHP] class problems > > > Try to create an instant of the class like this: > class test > { > var $table = "val"; > > function showName() > { > return $this->table; >

Re: [PHP] class problems

2001-10-18 Thread Valentin V. Petruchek
Try to create an instant of the class like this: table; } } $test = new Test; echo $test->showName(); ?> - Original Message - From: "Matt Williams" <[EMAIL PROTECTED]> To: "PHP General List" <[EMAIL PROTECTED]>; "PHP_UK@egroups." <[EMAIL PROTECTED]> Sent: Thursday, October 18, 2001 4:25