一些项目中用到的php函数

 #不为空
if (!empty($_POST))
{
}
#生成随机数
mt_rand(999,9999)产生999-9999范围间的随机数

 

posted @ 2019-01-13 06:59  saintdingtheGreat  阅读(115)  评论(0)    收藏  举报