Jump to content

Recommended Posts

Hi, is there anybody who can point me towards a php script which will allow me to upload a file with the .pub extension and convert it to pdf or anything else which can be viewed on a web page?

I know the person could just save the file as something else but they are quite stuck in their ways and dont like change.

Cheers

Pete

Link to comment
https://forums.phpfreaks.com/topic/183599-convert-ms-publisher-files-to-pdf/
Share on other sites

There are plenty of windows desktop applications that can do this. Your user could convert then upload to the web site. If you were to do this with php I guess you would need a windows web server with php using the COM extensions. I don't think there is anything off the shelf although I maybe wrong. You should really spend the time on forcing the user to have documents in the appropriate format for the web and restrict the upload to pdf. If they don't want to convert the documents its really tough luck. Just tell them there is no soultion other than to have the proper format.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.