I found a very simple, very old script for php
It does everything I need. Thanks for all the help, you guys rock!