Sample Agreement scripted in PHP with the help of a friendly fiverr.com seller
Perl flavored version, in case you love pain