I want to start a php class file from server side which should delete records from the table which are one month older.
You write a php page which connects to your database and performs your delete query, then you use cron to run it every month / day / year / whatever.