These are good languages to know.First of all I would recommend getting these books on amazon or half.com "complete reference to PHP","complete PHP","Complete reference to Perl", "Complete Perl" & so on.These are really good books.They will give you a strong foundation.Second of all I would learn Java first because its pretty wide language.Once you understand this language then C++ & C are quite similar as Java.Third of all you will be able to understand and manipulate PHP & Perl.Also consider Java Beans.