My end goal is to allow a user (preferably in PHP) be able to upload an .eps file and view it online (preferably as a .jpg or .png).

I searched online on how to create code and there are 100's of sites that will convert my .eps file to another type. This is so common, but I cannot find out how to do it on my site. Can anyone give me direction on where to go?
Thanks!