Home >Backend Development >PHP Tutorial > 1.怎么判断时间格式是否正确 2.怎么判断用户登录权限

1.怎么判断时间格式是否正确 2.怎么判断用户登录权限

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 12:39:461243browse

1.如何判断时间格式是否正确 2.如何判断用户登录权限
1.如何判断时间格式是否正确:

  如:我需要 20110603 这样的格式,这个格式是用户自行填写的,如何判断 用户填写的是否符合这个规范,
      需要代码借鉴

2.如何判断用户登录权限:

  如: 用户登录之后,复制某一个地址路径进行链接,设置成用户不能访问此路径,需要代码借鉴


希望大神们 指点   

PHP
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn