To compare dates you should use mktime().
Read manual and ask one more question if somethins will be unclear.
This is example from date() manual page:
$tomorrow = mktime (0,0,0,date("m") ,date("d")+1,date("Y"));
So, seven days after today:
$days = mktime (0,0,0,date("m") ,date("d")+1,date("Y"));
Now, if you want to compare "26.06.2001" with this date, you should write like this:
$compare_date=maketime(0,0,0,6,26,2001);
if ($days>$compare_date)
{//compare_date is earlier...}
Hope, it is not necessary to write how to extract "6", "26" and "2001" from "26.06.2001" :-)