Changed php scripts to run with mysql on the server.