You would have been better off starting your own thread really.
An LLB is an undergrad law degree. An LLM is a post-grad masters degree in law. The GDL is the Graduate Diploma in Law which is a conversion course that allows non-law graduates to pursue a career in law. None of these will make you a qualified lawyer.
As a non-law graduate, the GDL is what you would be looking at (although you could do a law degree if you really wanted to). It is a 1 year (or 2 if taken part time) highly intensive course that covers the core modules from a law degree.
As a foreign student you will first need to apply for a Certificate of Academic Standing from the SRA to confirm that your qualifications are suitable to do the GDL. You will also need to check whether you will need a visa to study here.
Once you've done the GDL you do the 1 year (or 2 if taken part time) Legal Practice Course (LPC) which teaches you legal practice. You then have to do a two year training contract (TC) which is like an apprenticeship during which you gain experience is a variety of areas of law and do your final courses. Once you've done all of this you qualify as a solicitor.
You should be aware that competition to obtain a TC is extremely high and many people who complete the academic stages never manage to obtain one. Do your research thoroughly before committing to self-fund these courses.
I have assumed that you want to be a solicitor. If you want to be a barrister then there is a different process. There is guidance on becoming a solicitor on the
Law Society website and for barristers on the
Bar Council website that you might find helpful. Good luck in whatever you decide.