a small application on php