[PHPLIB] Local.inc HOWTO? From: denny (denny <email protected>)
Date: 12/07/99

Hi, I would like to knoow how to setup local.inc for phplib-7.2.

I'm using MySQL and php-3.0.12. I've read the doc and created two tables
active_sessions and auth_user.

What do I need to modify in the class DB_sql ... Any detail docs for
beginners?

class DB_Example extends DB_Sql {
  var $Host = "localhost";

 # What are the steps need to change the default setting?
  var $Database = "example_database" ;

# Do I create user and password in MySQL by using the command :
      insert into
user('localhost','joe',password('123'),'y','y','y',...... )???
  var $User = "example_user";
  var $Password = "";

}

class Example_CT_Sql extends CT_Sql {
  var $database_class = "DB_Example"; ## Which database to
connect...
  var $database_table = "active_sessions"; ## and find our session data in
this table.
}

#
#class Example_CT_Split_Sql extends CT_Split_Sql {
# var $database_class = "DB_Example"; ## Which database to
connect...
# var $database_table = "active_sessions_split"; ## and find our session
data in this table.
# var $split_length = 4096 ## Split rows every 4096 bytes
#}

What are all these uncomment class settings? What are the requirements for
running the examples in the doc? I would like to learn to use phplib ...
anyone can help?

Thanks!
Denny C.

-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.