Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
how to append string in word file?
Old 07-07-2009, 10:49 PM how to append string in word file?
c4cyber's Avatar
Skilled Talker

Posts: 81
Trades: 0
hi guys!
here is my problem...

I have to append a string "See the solution file" in at the end of almost 3000 MS word (.doc) files.

I am using this

$file="filename.doc";
$fp=fopen($file, "a+");
$cmnt="See the solution file";
fwrite($fp, $cmnt);
fclose($fp);

it works fine if i use

$file="filename.txt"; or $fp=fopen($file,"w+");
txt file(need to update doc) (writing whereas i need to append data)

what to do?

thanks in advance
__________________

Please login or register to view this content. Registration is FREE
c4cyber is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to how to append string in word file?
 

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.08765 seconds with 12 queries