Writing to the middle of a file


Posted on 16th Feb 2014 07:03 pm by admin

Hi I have a bit of a problem. Is there any way i can write some text to a middle of a text file. For instance on line 20? I know how to write text to the bottom of the file but not how i can get it to write in the middle. Any ideas?

Thanks

No comments posted yet

Your Answer:

Login to answer
289 Like 26 Dislike
Previous forums Next forums
Other forums

a multi dimensional array with for each
hi, I have been asked to write an array, I have Zone 2,3,4,5,6,7,8 each zone has 3 sections of weigh

noob question
i traying to do a php form with auto replay for both(me and the user who send me a mail),

a u

registration form
first time posting. did some searches but didnt find exactly what i am looking for. dont flame cause

unserialize help, getting errors
hi all ,
I got a form with 6 fields (2 input and 4 select box), when the page loads one block is

insert mysql embeded videos as blobs?
Using TinyMCE my client will be able to embed images and flash videos into large columns of text whi

building a function with multiple outputs
I want to build a function that has multiple outputs.

I know but am not to sure how I should

Inserting 100x and 100y coordinates in mysql table - easy
Is there a way to insert this data into a mysql table named 'map' with the fields: 'x int 3' , 'y in

Website Direction...
I recently used this code to try and make it so the page loads as http://www.domain.com/ when you ty

PHP header help!
Hi all I am trying to get this php page to refresh every 5 seconds on my phone which is an aastra 48

XML Grouping
I'm using xml_parse_into_struct to get all my elements, but now I need to group them. For example, h

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash