Khaziravi started playing for his hometown Abadan's main club,
Sanat Naft FC. At 19, he was undeniably the team's star, but the club was relegated from the top division in Iran. That's when he made the switch to national giants
Esteghlal for the 2000–2001 season. This year proved to be critical for the young wingback as he helped his team win the last
Azadegan championship. His performances during that season attracted Iran's national team manager,
Miroslav Blazevic and he eventually got his first international appearance on July 22, 2001, against
Bosnia. The next season saw the league becoming officially professional and was named the
Iranian Premier League. Again Khaziravi was instrumental in the Esteghlal's second-place finish to their rivals,
Persepolis FC. But during that same season, the young talent almost reached national stardom. His presences became more and more influential for the national team as Iran was battling for a spot in the World Cup. After losing a critical game against underdogs
Bahrain on what became one of Iranian football's darkest days (Khaziravi mysteriously remained on the bench for this game), the team had to go through qualification playoffs. The Iranians first played the
UAE with Khaziravi being instrumental in both matches. Their next opponents were the
Republic of Ireland. On the first leg in
Dublin, Ireland beat Iran 2–0. Iran ended up losing 2–1 on aggregate after winning 1–0 on the return leg. By spring of 2002, Khaziravi had become an automatic choice for the national team and played friendlies against
Venezuela (against whom he scored his only international goal) and
Algeria. In addition to his national team success, he was on the shortlists of many
European scouts. It had been speculated that Esteghlal agents were negotiating a deal for him with the German club
Hansa Rostock. But in June, the youngster was caught by Tehran police in a brothel and was arrested (prostitution is strictly forbidden in Iran). His arrest initially saw him receive a very harsh punishment of 99 lashes and he was handed a five-year suspension from playing with the national side and a three-year suspension from playing with his club Esteghlal. Needless to say, this was the beginning of the end to a very promising career for the then 22-year-old. Later his suspension was reduced and was not lashed either. ==Signs of a comeback==