To submit the data to your own server you need to be running a local webserver with php.
Then make a page at http://127.0.0.1/pagefabricator/receive_page.php
The posted data has one field called "current_html".
How you handle it is up to you. I put my document's name inside a comment tag on the first line of the html, and then on the server I do this: