PHP Classes

Packages of Zhao

Recommend this page to a friend!
  All class groups  >  All authors  >  Packages of Zhao (3)  >  Mission progress status  >  Reputation  
Picture of Zhao
Name: Zhao <contact>
Classes: 3
Country: Japan Japan
Age: 49
All time rank: 22819 in Japan Japan
Week rank: 195 Up1 in Japan Japan Up
All time users: 1069
Week users: 0
Innovation award
Innovation award
Nominee: 1x
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image Bijection URL shortening  
PHP Programming Innovation award nominee
September 2015
Number 9
Encode and decode values for short URLs
This class can encode and decode values for short URLs.

It can take a given id number for a short URL that will eventually be stored in a database and generates a sequence of random characters that will be used to associate to the short URL of the given id.

The generated short URL may have an optional check digit.

The class can also that a previously generated short URL and decode it to find the original identifier number or the URL.
Not enough user ratings

  Files folder image Parse the User Language  
Determine the language supported by the browser
This class can determine the language supported by the browser.

It can check the value of the HTTP GET request value or cookie value named hl.

If none of those values are set, the class may check the HTTP Accept-language header to determine the languages supported by the user browser.

The class can also return the language name if it its either English, Chinese or Japanese.
Not enough user ratings

  Files folder image PHP Mobile Device Detection  
Detect mobile devices from request headers
This class can detect mobile devices from request headers.

It can check the HTTP Accept request header and search for patterns that are used by mobile device browsers.

The class can also check first the values of specific GET or COOKIE request values to determine if the current device should be assumed to be mobile or not.
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: 56% 68% - 62% - - 41% 3749
Month: Not yet rated by the users


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z