本帖最后由 wanghoumin 于 2009-8-24 20:12 编辑
我直接导入sql无法导入
所以我手动建立一个数据库 cdb_toxy
然后在运行你的toxy.sql
但是我传到web服务器上打开swf是空白
本地显示无法连接数据库
可我修改了Toxyconn.php啊
- --
- -- 表的结构 `cdb_toxy`
- --
- DROP TABLE IF EXISTS `cdb_toxy`;
- CREATE TABLE IF NOT EXISTS `cdb_toxy` (
- `uid` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
- `password` char(32) NOT NULL DEFAULT '',
- `credits` int(10) NOT NULL DEFAULT '0',
- `extcredits1` int(10) NOT NULL DEFAULT '0',
- `extcredits2` int(10) NOT NULL DEFAULT '0',
- `extcredits3` int(10) NOT NULL DEFAULT '0',
- `extcredits4` int(10) NOT NULL DEFAULT '0',
- `extcredits5` int(10) NOT NULL DEFAULT '0',
- `extcredits6` int(10) NOT NULL DEFAULT '0',
- `extcredits7` int(10) NOT NULL DEFAULT '0',
- `extcredits8` int(10) NOT NULL DEFAULT '0',
- `bday` date NOT NULL DEFAULT '0000-00-00',
- `g1state` int(10) NOT NULL DEFAULT '0',
- `g1worms` int(10) NOT NULL DEFAULT '0',
- `g1grass` int(10) NOT NULL DEFAULT '0',
- `g1pltid` int(10) NOT NULL DEFAULT '0',
- `g1pltdt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
- `g1pltnm` int(10) NOT NULL DEFAULT '0',
- PRIMARY KEY (`uid`)
- ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;
- --
- -- 导出表中的数据 `cdb_toxy`
- --
- INSERT INTO `cdb_toxy` (`uid`, `password`, `credits`, `extcredits1`, `extcredits2`, `extcredits3`, `extcredits4`, `extcredits5`, `extcredits6`, `extcredits7`, `extcredits8`, `bday`, `g1state`, `g1worms`, `g1grass`, `g1pltid`, `g1pltdt`, `g1pltnm`) VALUES
- (1, 'f82e691d134c7897bebbccb03ef8b2ce', 180, 180, 133, 0, 0, 0, 0, 0, 0, '0000-00-00', 0, 0, 0, 0, '0000-00-00 00:00:00', 0);
复制代码 |