ucӿ
ӿҴdiscuzģ˵dzٷucӿapiǴģǲõġ
û취ֻԼȥˣЩļĺѰ룬ǸincludeļУͱҪ

Ҫڣԭapiuc.phpкܶطõˡ
ΣֻôպˣļвǺܴ


÷ܼ,ҪucõĶ:
1:Ӧ:mytest

2ͨԿ123456

3Ӧͣ

4Ӧýӿļƣuc.php

5Ӧõ·ûдΪҿdzĳҲûдҲд

6Ƿͬ¼

7Ƿ֪ͨ

8ȻӦõucenterϢĶƵconfig.inc.php棬Ȼļٷŵ

9: Ҫinclude/db_mysql.class.php ļһҪУļһҪС
uc_clientͬĿ¼¼ɣuc_clientuc_test/uc_client,ôconfig.inc.phpͷŵ

uc_test/config.inc.phpɣ

һҪעľǣconfig.inc.phpһҪԸֵֵٷĵû

һЩĵṩģ$database = 'mysql';
Ȼʾͨʧܵ

ȻûнĻǿҽ㲻ҪùٷapiҲͬһģֱӴdiscuz

ԼҪucӿڼɣӷ㣬ΪdzucӿڶǾNβͨĽ
ԭ뱣ְȨpythonй www.okpython.com