I'm don't really know how to open for readding and writing at the same time... Usually, I used to open it in "append" mode and it was fine for me.
What I exactly want to do is:
Replace the $i line without altering the lines before and lines after.
If you have any simple way of doing so... please let me know.
Thanks in advance.
What I exactly want to do is:
Replace the $i line without altering the lines before and lines after.
If you have any simple way of doing so... please let me know.
Thanks in advance.