Re: class structure.
| From: | Richard Lynch | Date: | Thu, 20 Jan 2005 19:29:17 +0000 |
| Subject: | Re: class structure. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-206872@lists.php.net to get a copy of this message | ||
Dustin Krysak wrote:
> var $local;
> var $query_rs_biz;
> var $rs_biz;
You never actually use these as properties on the object, only as
variables within a single function.
So don't put them here.
Only put stuff here that you pass between functions or which you want
other scripts to be able to access.
> var $hostname_local = "localhost";
> var $database_local = "Blisting";
> var $username_local = "root";
> var $password_local = "URAredneck";
I'm thinking you missed changing these like you did the ones above...
Go change your password NOW.
--
Like Music?
http://l-i-e.com/artists.htm