how to delete user if user doesnot attempt login within 30 days in php
<p>i am new in php.. i want to delete the user automatically if he does not attempt login in 30 days. </p>

<pre><code>for example
if user login on "10-02-2012" , 
and if user doesnot login for next 30 days
then system should automatically delete his account. 

if user again login on "15-02-2012" ,
then limit should be for next 30 days i-e "15-03-2012"
</code></pre>

<p>please help me i am very new in php</p>

<pre><code>i have no idea how to store the date when user attempt to login. 
</code></pre>
