read a doc

how to read a doc file using php

Page 1 of 1

1 Replies - 1582 Views - Last Post: 27 April 2010 - 01:52 AM Rate Topic: -----

#1 roopamani  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 04-November 09

read a doc

Posted 27 April 2010 - 01:19 AM

hi,
anybody knows how to read a doc file using php
Is This A Good Question/Topic? 0
  • +

Replies To: read a doc

#2 atik97  Icon User is offline

  • ???
  • member icon

Reputation: 144
  • View blog
  • Posts: 715
  • Joined: 16-September 08

Re: read a doc

Posted 27 April 2010 - 01:52 AM

A number of functions are available in PHP for reading file contents. One of them is shown below-

<?php
$contents=file_get_contents("a.doc");
echo $contents;
?>


Was This Post Helpful? 0
  • +
  • -

Page 1 of 1