PHP Classes

Packages of Francesco Cirać

Recommend this page to a friend!
  All class groups  >  All authors  >  Packages of Francesco Ciracì (3)  >  Mission progress status  >  Reputation  
Picture of Francesco Cirać
Name: Francesco Cirać <contact>
Classes: 3
Country: Italy Italy
Age: 34
All time rank: 129851 in Italy Italy
Week rank: 195 Up8 in Italy Italy Up
All time users: 2385
Week users: 0
 
  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 Log Limiter  
Limit the number of failed login attempts
This class can be used to limit the number of times an user fails to login.

It keeps track in a MySQL database the number of a time an user with a given IP address fails to attempt to login.

When the number of failed login attempts exceeded a given limit, the class sets a cookie that is used to determine that the user is blocked while the cookie does not expire.
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: 83% 83% 83% 83% - - 66% 523
Month: Not yet rated by the users

  Files folder image Query2RSS  
Generate RSS feeds from MySQL query results
This class can be used to generate RSS feeds from MySQL database query results.

It takes a MySQL query result set resource and retrieves the result rows to generate XML for an RSS 2.0 feed.

The class can map a given list of fields to fields that define the title, description and URL of the RSS feed items.

The RSS feed channel definition may contain configurable custom fields.
Not enough user ratings

  Files folder image Token  
Generate and check tokens to avoid CSRF attacks
This class can be used to generate and check tokens to avoid Cross-Site Request Forgery (CSRF) attacks.

It generates random token strings and stores it as session variable associated to the time when the token was created.

The generated token be used to pass in an hidden input form for later verification against CSRF attacks.

The class can also check if the token is valid by looking at the respective session variable and verifying whether it did not pass more time than a configurable token timeout value.
Not enough user ratings


  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