Re: [PHP] looking for a PDF generator class/library for PHP 5?

2013-05-17 Thread Jose Nobile
Hi, try DOMPDF , is a powerful conversor from HTML/CSS to PDF. Saludos, José Nobile On Fri, May 17, 2013 at 8:05 PM, dealTek wrote: > Hi all, > > I'm looking into a good versatile PDF generator class/library to use with > PHP 5? --- Preferably one which is maintained

[PHP] looking for a PDF generator class/library for PHP 5?

2013-05-17 Thread dealTek
Hi all, I'm looking into a good versatile PDF generator class/library to use with PHP 5? --- Preferably one which is maintained somewhat recently... Mostly needed for basic pages, but I also have some longer reports (more than one 8.5" x 11" page) and it would be nice if the pdf was able to s

Re: [PHP] Saving session to database

2013-05-17 Thread Lester Caine
Andrew Ballard wrote: I've found database session storage requires extra diligence in error handling. When I see that error at 0 it is usually because something blew up either before the session handler was ready or after it was torn down. Found the culprit ... Suhosin http://www.simplemachines

Re: [PHP] Saving session to database

2013-05-17 Thread Andrew Ballard
I've found database session storage requires extra diligence in error handling. When I see that error at 0 it is usually because something blew up either before the session handler was ready or after it was torn down. Andrew On May 17, 2013 2:42 PM, "Matijn Woudt" wrote: > On Fri, May 17, 2013 a

Re: [PHP] Saving session to database

2013-05-17 Thread Matijn Woudt
On Fri, May 17, 2013 at 8:07 PM, Lester Caine wrote: > Matijn Woudt wrote: > >> >> It seems to me the session functions are failing, probably due to >> problems with >> the database. Have you checked that there actually is a ##session table >> in your >> database? >> You might want to add some de

Re: [PHP] Saving session to database

2013-05-17 Thread Lester Caine
Matijn Woudt wrote: It seems to me the session functions are failing, probably due to problems with the database. Have you checked that there actually is a ##session table in your database? You might want to add some debugging code to these functions, to check if errors occur with inserting or r

Re: [PHP] Saving session to database

2013-05-17 Thread Matijn Woudt
On Thu, May 16, 2013 at 2:49 PM, Lester Caine wrote: > Matijn Woudt wrote: > >> >> >> >> On Thu, May 16, 2013 at 10:43 AM, Lester Caine > > wrote: >> >> I'm having a problem with webtrees ... http://webtrees.net/ >> My copy is running on http://webtrees.lsces.or

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-17 Thread David Harkness
On Fri, May 17, 2013 at 7:04 AM, Tedd Sperling wrote: > To me there is no difference between an abstract class (without method > declarations) and an interface. > The key difference in OO languages that do not allow multiple inheritance is that you can always add an interface to an existing class

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-17 Thread Přemysl Fiala
Interfaces...I will add my 2 cents to what was already said.You don't need them, but they improve quality of your code. Your application is easily maintained, improved, understandable, accessible,   more cleaner, modules can be added easily...They implements some behavior (example):interface toastA

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-17 Thread Stuart Dallas
On 17 May 2013, at 15:04, Tedd Sperling wrote: > Stuart: > > You said: > >> An interface does what it says on the tin: it describes an interface that a >> class can then tell the world it implements. >> >> An abstract class provides functionality as well as an interface >> description. An ab

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-17 Thread Matijn Woudt
On Fri, May 17, 2013 at 4:04 PM, Tedd Sperling wrote: > Stuart: > > You said: > > > An interface does what it says on the tin: it describes an interface > that a class can then tell the world it implements. > > > > An abstract class provides functionality as well as an interface > description. An

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-17 Thread Tedd Sperling
Stuart: You said: > An interface does what it says on the tin: it describes an interface that a > class can then tell the world it implements. > > An abstract class provides functionality as well as an interface description. > An abstract class cannot be instantiated, it can only be extended.

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-17 Thread Sebastian Krebs
2013/5/17 Tedd Sperling > Nick: > > I thank you for your addition, but what you provided did nothing to > explain the difference between abstract and interface. > > In your example: > > An abstract Shape with Circle and Square inheriting. > > OR > > An interface Shape with Circle and Squa

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-17 Thread Stuart Dallas
On 17 May 2013, at 14:04, Tedd Sperling wrote: > I thank you for your addition, but what you provided did nothing to explain > the difference between abstract and interface. > > In your example: > >An abstract Shape with Circle and Square inheriting. > > OR > >An interface Shape with

Re: [PHP] A Good OOP Tutorial/Read?

2013-05-17 Thread Tedd Sperling
Nick: I thank you for your addition, but what you provided did nothing to explain the difference between abstract and interface. In your example: An abstract Shape with Circle and Square inheriting. OR An interface Shape with Circle and Square implementing. Does exactly the same thin