The Afghan leader is also warning Taliban chiefs that Afghan forces plan to target them on their own turf.
Pakistani Prime Minister Yousuf Raza Gilani says a stable Afghanistan is in his country's best interest. But he says the Afghan-Pakistani border is too long to prevent people from crossing even if Pakistan put "its entire army along the border."
U.S. officials have continually warned in recent weeks that the Afghan conflict will drag on for years unless militant safe havens in Pakistan are taken out.