LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Closed Thread
  Search this Thread
Old 05-07-2009, 04:06 AM   #1
sriphp
Member
 
Registered: Apr 2009
Posts: 48

Rep: Reputation: 15
reading ms word file using openOffice on fedora


Hai all,

this is srinath.m

i am using fedora, php, mysql

my task is reading msword file content and insert into mysql table field.

friends on linuxquestions suggested to use openOffice for this. thanks to them.

first i downloaded a word document from my yahoo mail attachment and opened it using openOffice.org writer

when i open, in the document i see some extra content also came with file content. that is

X-Apparently-To: v.vasudevrao@yahoo.com via 209.191.125.72; Sun, 30 Mar 2008 22:50:59 -0700 X-Originating-IP: [198.104.137.206] Authentication-Results: mta541.mail.mud.yahoo.com from=careerzeal.in; domainkeys=neutral (no sig) Received: from 198.104.137.206 (EHLO linuxcp10273.dn.net) (198.104.137.206) by mta541.mail.mud.yahoo.com with SMTP; Sun, 30 Mar 2008 22:50:56 -0700 Received: from linuxcp10273.dn.net (localhost.localdomain [127.0.0.1]) by linuxcp10273.dn.net (8.13.1/8.13.1) with ESMTP id m2V5ogkE026799; Mon, 31 Mar 2008 11:20:42 +0530 Received: (from nobody@localhost) by linuxcp10273.dn.net (8.13.1/8.13.1/Submit) id m2V5og8A026797; Mon, 31 Mar 2008 11:20:42 +0530 Date: Mon, 31 Mar 2008 11:20:42 +0530 MIME-Version: 1.0 To: From: ramiya@careerzeal.in Subject: Urgent Opening-Software Engineer - PHP reg Content-type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Length: 3436

why this came and how to prevent this.

and ok i delete this content and save my file. how to read content from this file and dump to mysql

i think file_get_contants function is ok for this, if not and else other standard process is there then please tell me how to do

Thanks
Srinath.M
 
Old 05-07-2009, 08:20 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Reported for closure---duplicate

Go here:
http://www.linuxquestions.org/questi...fedora-724089/

Last edited by pixellany; 05-07-2009 at 08:22 AM.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
reading ms word file on fedora sriphp Linux - Newbie 12 05-11-2009 08:17 AM
reading ms word on linux sriphp Linux - Software 2 05-07-2009 04:02 PM
Reading and printing the 5th, 10th, 15th...word of any file dahr Linux - Newbie 2 07-28-2008 03:51 PM
[SOLVED] find a word in a file, and change a word beneath it ?? vikas027 Programming 10 02-14-2008 09:46 PM
problem in reading Microsoft word as a binary file ljqu_happy Programming 15 02-02-2005 10:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration