摘要:
$this->assign('controller',$request->controller()); $this->assign('module',$request->module()); $this->assign('action',$request->action()); —————————— 阅读全文
posted @ 2020-03-29 22:28
ysbl
阅读(1552)
评论(0)
推荐(0)
|
摘要:
$this->assign('controller',$request->controller()); $this->assign('module',$request->module()); $this->assign('action',$request->action()); —————————— 阅读全文
posted @ 2020-03-29 22:28
ysbl
阅读(1552)
评论(0)
推荐(0)
摘要:
php实现返回上一页的功能的3种有效方法 header(location:你的上一页的路径); // 注意这个函数前不能有输出 header(location:.getenv("HTTP_REFERER")); // 返回其调用页面 echo"<script>alert('随便写点什么');hist 阅读全文
posted @ 2020-03-29 22:26
ysbl
阅读(766)
评论(0)
推荐(0)
摘要:
$start_memory = memory_get_usage();$foo = "Some variable";echo memory_get_usage() - $start_memory;这个可以获取所有变量类型的大小strlen($foo) 这个可以获取当前字符串的字节大小 除以8就是位大 阅读全文
posted @ 2020-03-29 00:07
ysbl
阅读(3241)
评论(0)
推荐(0)
|