Create cleanup.php

By executing this file will clean up Magento default log files from database OR temp files from 'var' folder.

Usage:
1. Upload this file to root folder
2. Execute this file followed by parameter 'clean'

'clean':
1) ?clean=log, will clean log files from database
2) ?clean=var, will delete temp files from var folder