473,509 Members | 4,901 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Converting .doc, .docx to pdf conversion using php code

3 New Member
Hi , I need help in converting .doc and .docx files. when it is uploaded using php need to be convert into pdf using php. both .doc and .docx files has to be convert into pdf. exact format in the word document. even though word document have images , styles and colors
Sep 7 '16 #1
5 3489
Dormilich
8,658 Recognized Expert Moderator Expert
for reading .doc you'd need the COM module, which is only available on windows servers. and even for the other cases it's almost impossible to do an exact conversion.

your best bet is to open the uploaded document in MS Word, export it, and upload the PDF.
Sep 8 '16 #2
vullivijaya
3 New Member
Thanks for your reply. But I need it in linux server. i completed .docx to pdf conversion using gears/pdf but i am unable to convert .doc to pdf. if you know other information pls let me know

thanks
Sep 8 '16 #3
Dormilich
8,658 Recognized Expert Moderator Expert
you cannot convert a .doc on a linux server. period.
Sep 8 '16 #4
vullivijaya
3 New Member
at least shall we convert .doc to .docx using php code on linux server
Sep 8 '16 #5
Dormilich
8,658 Recognized Expert Moderator Expert
not possible for the same reasons. .doc is a closed source format by MS.
Sep 8 '16 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1063
by: Chinook | last post by:
Using code objects? =================== As an OO exercise I have a factory pattern that returns class objects that each have an "action" method. ClassObj.action() in turn returns a code object...
2
6065
by: kai | last post by:
Hi, All I used to link a SQL Server 2000 table through ODBC in Access 2003 using Wizard, now because the security requirement, I want to do the same job using code. I tried hard, but not...
0
1231
by: henry fung | last post by:
Hi, How do you create a shoutcut to a table in an existing group using code only in Access 2003. The closest I can do is to create a shoutcut to a selected object to a new group using:...
0
1253
by: Shane O. Pinnell | last post by:
Does anyone know of a resource for information on how to create a working databound DDL in a datagrid using code behind? I have found a plethora of resources for doing this without code-behind,...
5
2797
by: Andrei Pociu | last post by:
I have a major doubt about outputting text in ASP .NET when using code behind. I know most of the output you gain from a code behind file (.aspx.cs) is outputted to the Webform (.aspx) using...
5
7156
by: Victor Reboucas | last post by:
Hi, I'm sure I'm missing something here, but.... I have a asp.net 2.0 web form and a calendar control. If I set the selectedDate clicking the control, no problem, but, if I set it using code I...
7
2938
by: ApexData | last post by:
Hello I currently Link the FE/BE using the LinkTables Option and the Linked Table Manager. Any time I need to move the BE to another location, I have to go through this process over again. I...
1
1457
by: Piotrekk | last post by:
Hi I have a strange problem. Here is some input data before I describe the problem. 1. RemoteClass (Mathematica) is compiled into dll and put to GAC 2. Server remoting configuration is done by...
8
2161
by: Greg (codepug | last post by:
For lack of the proper expression, how do I excite a control to cause events to trigger. I have a date control and am using a calender form button to fill the text box with the date. The text box...
0
7237
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7137
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7506
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5656
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4732
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3218
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1571
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
779
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
443
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.