PHP Classes

Packages of Mark Davidson

Recommend this page to a friend!
  All class groups  >  All authors  >  Packages of Mark Davidson (3)  >  Mission progress status  >  Reputation  
Picture of Mark Davidson
Name: Mark Davidson <contact>
Classes: 3
Country: United Kingdom
Age: 38
All time rank: 18611 in United Kingdom
Week rank: 195 Down9 in United Kingdom Up
All time users: 11618
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 Advanced Upload Class  
Process forms for uploading multiple files
This class can be used to process forms for uploading multiple files.

The class can check whether the files are not empty, nor exceed a given size limit.

It can also check the file type against lists of allowed and denied file types.

The class can also make file names safer by replacing eventual spaces in the names by underscores.

If there was an error while uploading files, the class throws an exception object that provides information about the error code and an explanatory error message.

If all checks are passed, the class processes the uploaded files moving them to a given directory. If the directory does not exist, the class may create it.

  Files folder image Simple Authentication Class  
Authenticate users listed in an array
This class can be used to authenticate site users.

It looks up an user and password in array with all authorized users.

If the user exists and the password is correct, it sets two cookies, one for the user and another for the password, to start an authenticated session.

The class may also invalidate the authentication by forcing the user and password cookies to expire.

  Files folder image simple Email Class  
Send HTML messages with images and attachments
This class can be used to compose and send HTML messages with embedded images and attachments.

It composes a message with an HTML body. When the message is sent it automatically includes an alternative text part by stripping the tags from the HTML part,

Optionally it can embed images in the HTML message and one or more attachment files.


  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