well, what you can do is save the user's first access time in a database table, every time the user presses the button it updates the count of user presses. so if
so if (($nowtime < $fisttime +606024) OR ($total > 5)) noshowbutton();
else showbutton();
function showbutton(){
echo "input type=submit";
}
function noshowbuttion(){
echo "Sorry, you have expired your uses";
}
well, this code wont work, but it should give you a nice idea how to get it to work