2013-03-11 Added mySql database function and ability to upload pdf files