Jump to content

I want read an ODT file


anushka

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.