phpquotes is a quotes system based on php and mysql. Its currenty in a working state but misses out on a couple of features. Give it a try, read TODO and hack away.
These details are provided for information only. No information here is legal advice and should not be used as such.