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

session variable problem
Session variable is not working in Fire fox i am getting null value but it is working fine in IE.

AutoChoosing a CSS file based on URL
Hey everyone,

I have a site that has multiple URLs and CSS files.

Based on the URL tha

add text and number image
hi guys ..

ok see i want the user to add their name and pick a number then click get it and i

natcasesort works on one server but not on another
Hi

I have a problem that I was hoping that someone can help me with.

I'm trying to use

New Search Engine problem
Hey everyone,

I have a ZIP Code Radius search engine already functional. it displays all of t

PHP MySQL and DATE
Hi everyone

I have a databse and in one of the columns I have date values such as 2009-March-

Formatting echo from database
So I have a database that stores First and last names, then echos them back to a website, as of now

Select question
Hi,

First I would like to say that php is pretty new for me..
so please don't shoot me if

how to load php class from another domain?
how to load php class from another domain?

Different actions for different parts of a string
<?php
function dosomething($string, $else = '') {
if (empty($else))
$string

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