yii
照样做了,还是显示:
PHP Error Non-static method NetAddress::getHost() should not be called statically, assuming $this from incompatible context \protected\components\Guid.php(10)
function getGuid($coumputer_name, $ip){ 10 $address = NetAddress::getHost($coumputer_name, $ip); 11 $this->valueBeforeMD5=$address->toString().':'.System::currentTimeMillis().':'.Random::nextLong(); 12 $this->valueAfterMD5 = md5($this->valueBeforeMD5); }
- yii 回复了话题 请教如果不用AR操作数据库,该如何处理?
多谢巡洋舰.....
- yii 发布了话题请教如果不用AR操作数据库,该如何处理?