RE: [PHP-WIN] php editors

2006-04-14 Thread trystano
Yeah, me too! Textpad all the way. I also use for C#. Tryst -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Problems with Database Singleton Class

2006-04-14 Thread Vandegrift, Ken
Hello, I am trying to create a singleton database class that wraps up the creation of the PDO class. However, when I call the getInstance() method and run it through the gettype() method (for testing purposes) it returns 'object' but when I try to create a statement object I recieve a Fatal erro

Re: [PHP-WIN] Problems with Database Singleton Class

2006-04-14 Thread Martin Vidovic
On Friday 14 of April 2006 17:51, Vandegrift, Ken wrote: > class WebDBConn { > > private static $instance = NULL; > > private function __construct() { > > self::$instance = new PDO($db, $user, $pwd); > self::$instance->setAttribute(PDO::ATTR_ERRMODE, > PDO::ERRMODE_EXCEPTION); > } > >

RE: [PHP-WIN] Problems with Database Singleton Class

2006-04-14 Thread Vandegrift, Ken
Thank You! Yep, moving the DB creation logic into the getInstance method did the trick. I now have one instance of my DB connection to use throughout my program. New and improved (working) getInstance method: /** * Return DB instance or create intitial connection * @return object (PDO) * @ac

[PHP-WIN] Problems IE+PHPDev and Protecte pages

2006-04-14 Thread Anton Heuschen
Dear PHP list. I have a website (local) running on a Windows box. I am using : PhpDev5 (php,Mysql,Apache 1.x) I am using PHLib - where I then make use of the template and page auth functions of PHPLib What I have found, and this is my problem. The web application requires a login, all pages a

Re: [PHP-WIN] PHP5 and MySQL

2006-04-14 Thread Stephen Lake
Try http://www.php-editors.com they list many different editors that you can use. HTH Steve ""pfancy"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Can you show me some of the code i need to unquote so i get an idea about > where it is. -- PHP Windows Mailing List (http://w

Re: [PHP-WIN] PHP5 and MySQL

2006-04-14 Thread Stephen Lake
Try http://www.php-editors.com they list many different editors that you can use. HTH Steve ""pfancy"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Can you show me some of the code i need to unquote so i get an idea about > where it is. -- PHP Windows Mailing List (http://www.

[PHP-WIN] Re: php editors

2006-04-14 Thread Stephen Lake
Try http://www.php-editors.com they list many different editors that you can useit lists freebies, commercialware and shareware ""pfancy"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I've been reading over php. I have bought php and mysql for dummies but my > question is w