Class for obtaining URL Information
Using this class, you can obtain the following URL Information:
-Host-Path-Statuscode (eg. 404,200 ,...)-HTTP Version-Server-Content Type-Date-The whole header string of the URLCopy codeThe Code is as follows: /**
class to get URL informationUsing this class, you can get the following information for the URL:-Host-Path-Statuscode (eg. 404,200, ...)-HTTP Version-Server-Content Type-Date-the whole header string of the URL Copy CodeThe code is as follows:/***
A class for retrieving URL information implemented in php to obtain URL information
Using this class, you can obtain the following URL information:
-Host
-Path
-Statuscode (eg. 404,200 ,...)
-HTTP Version
-Server
-Content Type
-Date
-The whole
This page class does not handle SQL;
Dramatically speeds up paging functionality
Http://blog.csdn.net/fkedwgwy
Xiaoxiang Blog--Xiaoxiang
/**
Demonstrate
Require_once ('.. /libs/classes/page.class.php ');
$page =new page (' Total ' =>1000, '
A c # Time tool class that can be used for time computing, for example, a birthday reminder is implemented based on the date of birth, a comparison of two days of the date, a Chinese day of the week is returned Based on the day of the English day,
Good ajax paging Ajax
// This paging class does not process SQL;
// The paging function is greatly accelerated
// Http://blog.csdn.net/fkedwgwy
// Xiaoxiang blog-Xiaoxiang
/**
Demo
Require_once ('../libs/classes/page. class. php ');
$ Page = new
Nice ajax paging class
// This paging class does not process SQL;
// The paging function is greatly accelerated
// Http://blog.csdn.net/fkedwgwy
// Xiaoxiang blog-Xiaoxiang
/**
Demo
Require_once ('../libs/classes/page. class. php ');
$ Page = new
JAVA gets the timestamp of the current month's initial time
public static long Getmonthfirstday () {
Calendar calendar = calendar.getinstance ();//Get current date
Calendar.add (calendar.month, 0);
Calendar.set (Calendar.day_of_month, 1);/
A C # Time tool class that can be used for time calculations, such as birthday reminders based on the date of birth, two date days comparison, the day of the week in English to return to the Chinese day of the day, calculated two time difference,
PHPajax paging code .? Php does not process SQL in this paging class; it greatly accelerates the paging function blog. csdn. netfkedwgwy Xiaoxiang blog -- Xiaoxiang ** demo require_once (. libsclassespage. class. php );
// This paging class does
This sub-page class does not handle SQL;
Greatly accelerates the paging function
Http://blog.csdn.net/fkedwgwy
Xiaoxiang Blog--Xiaoxiang
/**
Demonstrate
Require_once ('.. /libs/classes/page.class.php ');
$page =new page (Array (' Total ' =>1000, '
Code GitHub Address: Https://github.com/haozhaohang/libraryEasy to pity WhiteThe project uses a time-date approach, using only a subset of methods, in order not to introduce a third-party library (Moment.js), which encapsulates the methods used in
Database PDO operations. For more information, see.
The code is as follows:
/**
* Database PDO operations
*/
Class MysqlPdo {
Public static $ PDOStatement = null;
/**
* Database connection parameter configuration
* @ Var array
* @ Access public
*/
Time Format Conversion Time format conversion class
Time string format and millisecond form conversion class.
Using System; namespace myspace {////// Specify several constants, indicating the timing format. ///Public enum TimingFormat: byte {//////
Package com.xcfh.util;Import Java.sql.Date;Import Java.text.SimpleDateFormat;/*** @Description: Long turns into time** @author Pinetree* @version 2.0* 2014-11-24*/public class Longtodate {/*** @Description: String type of milliseconds converted to
1) New remote host judgment, save server resources. Avoid the remote host does not exist when still fsockopen, resulting in the crash occupied the server CPU (2) added response 401 of the judgment and support. (3) Added support for JSON return text.
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
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.