Strong pagination Class 2.0 release, support custom style, default 4 display modes
See some people on the forum Baidu pagination class, so a few weeks ago, the pagination class posted.
2.0 relative 1.0 revisions are as follows:
1. Support PHP4 and
When surfing the Internet, I often see several advertising images. The following is the image code. I think it is quite good. I am learning how to create a user control. I just want to make the rotation advertisement a control for my own convenience.
Php classic paging code class this is a php paging code is a classic instance code that can automatically determine url parameters and then pagination. At the same time, you have customized the previous page, next page, home page, it also supports
1. Create a tool classImportjava.security.MessageDigest; /*** class Name: Cipherutil * Class Description: 16-bit MD5 encryption of data * created by: Jxufe hehaiyang* created: 2015-1-19 06:33:26 * Edit notes: *@version */ Public
Reprinted from: http://www.cnblogs.com/xt0810/p/3630996.html"Previous words."The development project uses Jenkins to do continuous integration, PMD check code, JUnit do unit testing, and automatically send email notification of compilation, will
Two paging codes for super php tutorials
/*** Description: exclusive paging mode. Four paging modes are used by default, which are similar to baidu and google paging modes.* 2.0 added: supports custom styles and styles, and supports both php4 and
Copy Code code as follows:
/**
@Usage: Use some storage (MySQL or memcache) instead of PHP Sessoin
@author: Lein
@Version: 1.0
*/
Session_Start ();
if (!isset ($_session[' test ')) {
$_session[' test ']= "123_lein_". Date ("y-m-d h:i:s");
Xml
Reflection enables your program code to access the internal information of classes loaded into the JVM, allowing you to write code that works in conjunction with execution, rather than the classes selected in the source code. This makes
Replace the phpsession class with the mysql memory table. you can test the effect on your own.
The code is as follows:
/**
@ Usage: use some other storage method (mysql or memcache) instead of php sessoin
@ Author: lein
@ Version:
The product is released in the super paging category 2.0 and supports custom styles. The default display mode is 4.I saw someone asking for the Baidu paging class on the Forum, So I posted the paging class a few weeks ago.2.0 the relative 1.0
A class that replaces phpsession with a mysql memory table
/**
* Session mysql memory table
@ Usage: use some other storage method (mysql or memcache) instead of php sessoin
@ Author: lein
@
Replace the phpsession class with the mysql memory table. you can test the effect on your own.
The code is as follows:
/**@ Usage: use some other storage method (mysql or memcache) instead of php sessoin@ Author: lein@ Version:
/**
* Session MySQL Memory table
@Usage: Use some other storage method (MySQL or memcache) instead of PHP Sessoin
@author: Lein
@Version: 1.2
*/
Session_Start ();
if (!isset ($_session[' test ')) {
$_session['
Original address: http://blog.sina.com.cn/s/blog_4dd475390100ryp9.html
Create the database Tiask and execute the following SQL
/*navicat MySQL Data transfersource server:localhostsource Server version:50067source Host:localho St:3306source
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.