Heat the oil in a large frying-pan and fry the garlic, chillies and parsley until the garlic just begins to brown. Do not let the garlic burn, or it will acquire a bitter flavour. Add salt to taste.
Meanwhile, cook the pasta according to pack instructions, until al dente.
When the spaghetti is cooked, drain it and transfer immediately to the fryin