I hate rapidleach with passion. It doesn't have very good error handling or queuing support. Also, its hardly automated...

What you need is something like jDownloader but written in php, with added. It would be totally do-able but I guess its not a good idea if you have only started learning php. If you made it modular for each host then it would be easy to expand, etc. It would be good if you had a seperate frontend and backend interfacing using a mysql database or shared memory. Backend could be written in php, just as a cli script.

Then you just need to add post maker...