Save web page to disk
Posted: Tue Oct 21, 2003 2:45 am
I'm quite new to php and need some help with this.
I have a website with php pages that extract data from a MySQL database, create a couple of charts (jpgraph) and include a few small images.
I need to create a Save button that allows the user to select where on his hard drive to save the file, and then saves the file as html, including charts and images.
In other words, I need to emulate the File, Save As, Save Web Page feature in IE from a button and also to make it work on all browsers.
Can someone please point me in the right direction.
Many thanks
Peter
I have a website with php pages that extract data from a MySQL database, create a couple of charts (jpgraph) and include a few small images.
I need to create a Save button that allows the user to select where on his hard drive to save the file, and then saves the file as html, including charts and images.
In other words, I need to emulate the File, Save As, Save Web Page feature in IE from a button and also to make it work on all browsers.
Can someone please point me in the right direction.
Many thanks
Peter