Production of projectile-like fragments at intermediate energies