 <p>After much research last night, I found this as the answer for the server side. Then write a php script for the client side. Then have ajax call the client which calls the server. Only problem is some of the extensions have to be manually installed.</p> <p><a href="http://php-mag.net/itr/online_artikel/psecom,id,484,nodeid,114.html" rel="nofollow noreferrer">http://php-mag.net/itr/online_artikel/psecom,id,484,nodeid,114.html</a></p>