Jump to content

Recommended Posts

I am reading an ODT file Using Php function how can i do this .My code is below .Please tel me What are the changes i should do

 

 

 

<?php

$fileHandle = fopen('sample.ODT', 'r+')

OR die ("Can't open file\n");

 

 

//$fileData = fread ($fileHandle, 1024);

 

echo hello;

 

echo "data = $fileHandle";

 

fclose($fileHandle);

?>

 

Link to comment
https://forums.phpfreaks.com/topic/98966-i-want-read-an-odt-file/
Share on other sites

ODT means OpenOffice.org.Which is developed By sun .And it is same like MicroSoft Word.i am able to read the file but the conent is coming Like dis ???????????????.if i Can  Change the file format by using Php to txt file.If i can do this ,then i can read Txtfile.Is der any  possibilty  of Changing the file 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.