Service side PHP script to save a html file to a web server