来源:搜你想要的 点击数: 时间:08-11
摘录如下:
esub($string,$length,$dot='');截取字符串函数,第三个参数为超过长度以后,在后面添加的字符串
make_password($pwd_length);取得随机数
db_connect();数据库连接
DoSetDbChar($dbchar);设置数据库编码
db_close();关闭数据库
esetcookie($var,$val,$life=0;$ecms=0);设置cookie
getvar($var,$ecms=0);取得cookie
printerror($error="",$gotourl="",$ecms=0;$noautourl=0;$novar=0;);打印错误信息
egetip();取得ip地址
DoingReturnUrl($url,$from='');返回地址
RepPostVar($var);参数处理函数
GetFiletype($filename);取得文件扩展名
RepGetFiletype($filetype);
GetFilename($filename);取得文件名
sub($string,$start=0,$length,$mode=false,$dot='');字符串截取函数$mode默认即可,这个变量没看到在哪弄的。。
no_make_password($pw_length);取得随机数,这个是取得数字的
ToReturnRGB($reg);颜色转rgb,#ff0000-->rgb(32,23,32)
page1($num,$line,$page_line,$start,$page,$search);前台分页
to_time($datetime);时间转换函数
date_time($time,$format="Y-m-d H:i:s");时间转日期函数
format_datetime($newstime,$format);格式化日期
to_date($date);时间转换
ReadFiletext($filepath);取得文件内容,网络文件本地文件都可以
DoTitleFont($titlefont,$title);格式化标题,增加一些粗体
SubSmalltextVal($value,$len);截取简介
SubSchallSmalltext($value,$len);全站搜索简介
(搜你想要的 www.ucanfind.cn)
广告推介
最新发布
- 帝国网站管理系统常见问题
- 帝国CMS 7.0后台登录验证码不显示的解决方法
- 帝国CMS7.5版会员充值有效期升级,更完善
- 帝国CMS实现添加视频调用的方法
- 帝国CMS多值字段morevaluefield详解
- 帝国CMS程序服务器迁移的方法
- 帝国CMS7.5版针对后台内部管理员操作的安全性完善更新
- 帝国CMS支持云存储(又拍云/七牛云)的方法
- 帝国CMS7.5版栏目列表式新增支持附加SQL条件,更个性化
- 帝国CMS调用会员信息函数sys_ShowMemberInfo()
图文信息
最新视频
- 有什么好看又搞笑的电影-8部搞笑电影让你分分钟笑出腹肌
- 8部搞笑电影让你分分钟笑出腹肌
- 什么电影最好看又好笑?(笑尿的爆笑喜剧电影)
- 有哪些好看的电影值得推荐?
- 拜登首次听取总统每日简报,入主白宫迎来新阶段
- 入主白宫新阶段 拜登首次听取总统每日简报
热门事件
- 终于明白天天平台是真有挂吗—原来是别人开挂
- 最新分享娱友乐十三水能用挂吗-教你技巧绝对有挂
- 普及揭秘红桃大厅到底能不能开挂—教你开挂诀窍
- 关于老K海南麻将能不能开挂-正版开挂软件
- 终于明白天天平台是真有挂吗—原来是别人开挂
- 关于哈林麻将能不能开挂-正版开挂软件