not sure what you're using but this is with php..
http://shiflett.org/articles/how…
using php
thanks mate, ill check that out