php - How to give the option to download page as a complete HTML file (AFTER being reformatted and styled using JS/CSS) -
php - How to give the option to download page as a complete HTML file (AFTER being reformatted and styled using JS/CSS) -
i have webpage generated using php pull fields database , set them in html.
once page loads, utilize combination of javascript (which asked before) , css reformat , style page more legible.
what need provide way user download rendered page (after javascript/css manipulates page) whole html file.
and i'm coming short. can 1 help?
problems i'm encountering include:
using "save" or "save as" dialogs in browser save original html pulled php. end having "inspect element" , re-create rendered html developer view. the css , js i'm adding done on client-side, , php takes little while load (out of hands). solution question need able done on either client-side, or on separate site/server.help?
you can utilize server side proxy on own server (eg. php web proxy) grabs unformatted html page in question source server, reformats on server, , sends browser in state want save.
php javascript html download save-as
Comments
Post a Comment