Hi friends,

I have one save button in my html page and as soon as i click that button the html/static page should be saved with .doc extension.

As of now i want only the text in the html page to be saved as word document.

But if possible suggest me for html pages with images too.

I want the logic or sample source code for the above mentioned requirement.This is urgent.

cheers,
Vaideesh4u

Well the only way to do this would be to find a PHP extension that converts files to DOC Word files. Then create a PHP script that run when the save button is clicked that saves the text from the HTML page as a document and then converts it to a DOC file. Search Google for a php converter like so: http://www.google.com/search?q=DOC+file+in+PHP

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.