Two former executives at America Online were among six people charged Monday with stock fraud and other offenses as part of the federal government’s ongoing investigation into illegal accounting practices at the Internet company.

The other four individuals charged were executives at a defunct Las Vegas-based software firm called PurchasePro. Prosecutors say the two companies entered into secret deals to help PurchasePro inflate its revenue in early 2001.