[Solved] Set text from a file in other.
I need to set the text from the [A] file to the [B] file.
Somebody knows some cmd to do it,without getting the data from [A] file and writing to [B] file? |
Re: Set text from a file in other.
without getting the data
why ? |
Re: Set text from a file in other.
Quote:
Code:
|
Re: Set text from a file in other.
Quote:
|
Re: Set text from a file in other.
Quote:
|
Re: Set text from a file in other.
|
Re: Set text from a file in other.
But that copy the file into other,but I need to set the data from file A to data from file B..B File already has some text inside.
|
Re: Set text from a file in other.
The method is more or less the same (opening 2 files, getting/setting, closing both), you just need to use fgets/fputs and opening the second file with "a+" to append datas.
|
Re: Set text from a file in other.
Yes I tried that method,but when I test it,the A file gets copied a lot of times.
Code:
|
Re: Set text from a file in other.
maby your function gets called lot of times?
|
| All times are GMT -4. The time now is 19:45. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.