I don't particularly care for this explanation as it makes abstract classes
out to be a mere convention of some kind during the development life-cycle.
While I can see this as a potentially convenient byproduct of the fact that
an abstract class cannot be directly instantiated, this is NOT the who
On Sun, October 23, 2005 5:40 am, Alan Lord wrote:
> But what benefit is there is having it as an explicitly "abstract"
> class? Why can't it just be a "normal" class definition which you
> inherit from?
It could be just a normal class...
But assume you're working on a team with a LOT of programm
It wasn't what I was looking for but I enable it:
include_path = ".:/php/includes"
This was commented out. After uncommenting it all works as I expected
except that my syntax in the class was wrong. Now I can at least start
to learn.
Thanks Jasper and Derek - you gave me a shove in the
On Sun, 2005-10-23 at 23:01 -0400, Bob Hartung wrote:
> Jasper & Derek
>
>phpinfo() says:
> configuration file path /etc/php.ini
>
>PHP Core
>DirectiveLocal Value Master Value
>
> display_errorsOff Off
> error_log
Jasper & Derek
phpinfo() says:
configuration file path /etc/php.ini
PHP Core
DirectiveLocal Value Master Value
display_errorsOff Off
error_logno value no value
log errorson
Bob Hartung wrote:
Jasper
If if make a file containing only
I get what I expected.
If I make a file containing
I get NO output or errors in the browser window. If I select "view
source" it returns:
Eh? Anyone with any other ideas
Tnx
Bob Hartung
Jasper Bryant-Greene wrot
On Sun, 2005-10-23 at 21:31 -0400, Bob Hartung wrote:
> Jasper
>If if make a file containing only
> phpinfo() ;
>?>
>I get what I expected.
>
>If I make a file containing
>
> phpinfo() ;
>
> // Now a simple class and a call to the class
> class Simple()
Your erro
Jasper
If if make a file containing only
I get what I expected.
If I make a file containing
I get NO output or errors in the browser window. If I select "view
source" it returns:
Eh? Anyone with any other ideas
Tnx
Bob Hartung
Jasper Bryant-Greene wrote:
http://www.php.ne
On Sun, 2005-10-23 at 17:31 -0400, Bob Hartung wrote:
> Hi all,
>Slowly I'm progressing.
>Now how to turn error reporting on for a test apache server.
>
>I have made the following changes to /etc/php.ini:
>
>error_reporting = E_ALL
>display_errors = On
>error_l
Hi all,
Slowly I'm progressing.
Now how to turn error reporting on for a test apache server.
I have made the following changes to /etc/php.ini:
error_reporting = E_ALL
display_errors = On
error_log = /var/log/php_errors
On errors I still have no in browser display nor
Richard Lynch wrote:
On Sat, October 22, 2005 11:42 pm, Dan Trainor wrote:
This would be a great solution, and I'm sure my concern is something
that's been discussed many times on this list - I'm worried about the
performance hit that the machine would take, if/when parsing a large
number of fi
On Fri, 2005-10-21 at 12:06 -0700, hassan mahdi wrote:
> I have windows XP sevice pack 1 and 2, PHPv5.0.5, Mysql v1. I am working in
> web design. I am unable to connect to the mysql server. Althought my php
> files running fine and my mysql server is also running fine.
MySQL 1? Really? That's a
On 10/23/05, Manuel Lemos <[EMAIL PROTECTED]> wrote:
> Hello,
>
>
> on 10/22/2005 12:58 AM Richard Lynch said the following:
> > Checking MX records is not reliable at all.
>
> I agree that it is less useful today, but it still help catches many
> domain name typos.
>
>
> > ... would it not make se
On Sun, 2005-10-23 at 20:23 +0100, Ross wrote:
> I want the selct table to retain it's value on submit. The way I have done
> it works but is a bit rubbish and was wondering if there is a more efficient
> way. I just make the variable equal to "selected" when the form is submitted
>
>
>
I want the selct table to retain it's value on submit. The way I have done
it works but is a bit rubbish and was wondering if there is a more efficient
way. I just make the variable equal to "selected" when the form is submitted
>Please Select
News
Events
I have windows XP sevice pack 1 and 2, PHPv5.0.5, Mysql v1. I am
working in web design. I am unable to connect to the mysql server.
Althought my php files running fine and my mysql server is also
running fine.
i) i had changed the php.ini-dist file to php.ini.
ii)i uncommented the extension
Dear Sir
I have windows XP sevice pack 1 and 2, PHPv5.0.5, Mysql v1. I am working in web
design. I am unable to connect to the mysql server. Althought my php files
running fine and my mysql server is also running fine.
i) i had changed the php.ini-dist file to php.ini.
ii)i uncommented the ex
Alan Lord wrote:
But what benefit is there is having it as an explicitly "abstract"
class? Why can't it just be a "normal" class definition which you
inherit from?
The idea is that a high-level language should prohobit you from doing
things that do not make sence. Why they implemented it in PH
Thanks,
That's starting to make some sence now!
Al
> -Original Message-
> From: Colin Shreffler [mailto:[EMAIL PROTECTED]
> Sent: 23 October 2005 17:03
> To: Alan Lord; 'Jasper Bryant-Greene'
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Abstract Classes?
>
> One reason would b
One reason would be that you might not know the details of a derived class's
implementation details at design time.
For instance I could have an abstract class such as this:
Class MyTestClass
{
function doSomething()
{
doSomethingElse();
}
abstract function doSomethingEls
Jasper Bryant-Greene wrote:
On Fri, 2005-10-21 at 15:43 -0500, Jay Blanchard wrote:
[snip]
I haven't used Windows for a while, but Start->Search->Files & folders
(or something like that) and enter php.ini. Delete all results except
the one that you've been editing, and then move the one you'
I think the php GC only kicks in at the end of a script some calls to
mysql_free_result might help
Angelo
- Original Message -
From: "Richard Lynch" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc:
Sent: Saturday, October 22, 2005 11:40 PM
Subject: Re: [PHP] Memory Leak?
On Sat,
On 10/23/05, Jacob Friis Saxberg <[EMAIL PROTECTED]> wrote:
> > How can I use Ruby with Php?
>
> I mean Rails. sorry :)
http://www.rubyonrails.org/
I have a couple of Rails apps on my own server with other PHP apps
running there too. Apache will run mod_fcgi and mod_php at the same
time with no
Thanks Jasper,
That makes sense.
But what benefit is there is having it as an explicitly "abstract"
class? Why can't it just be a "normal" class definition which you
inherit from?
Sorry to be so dense
Al
> -Original Message-
> From: Jasper Bryant-Greene [mailto:[EMAIL PROTECTED]
> How can I use Ruby with Php?
I mean Rails. sorry :)
> My goal is to have (Independence of Presentation Logic(IoPL)).
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi.
How can I use Ruby with Php?
My goal is to have (Independence of Presentation Logic(IoPL)).
Thanks,
Jacob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sun, 2005-10-23 at 08:54 +0100, Alan Lord wrote:
> Hi All,
>
> I have started reading a couple of books about PHP 5 and whilst most of
> it is comprehensible even to me :-), I fail to understand WHY there is
> such a thing as an abstract class or method?
>
> I think I understand what it is: A
Hi All,
I have started reading a couple of books about PHP 5 and whilst most of
it is comprehensible even to me :-), I fail to understand WHY there is
such a thing as an abstract class or method?
I think I understand what it is: A class that can't itself be
instantiated, only inherited from, or a
On Sat, October 22, 2005 11:42 pm, Dan Trainor wrote:
> This would be a great solution, and I'm sure my concern is something
> that's been discussed many times on this list - I'm worried about the
> performance hit that the machine would take, if/when parsing a large
> number of files, in this mann
29 matches
Mail list logo