I know how to write to a file, but I want to know if its possible to write to a certain part of the file? The code I use to write text to a file:
How would I make that write after and before some code? So the code looks like this:-PHP Code:$support="Name: " . $name . "\nMessage: " . $msg . "\nEmail: " . $email . "\nDate: " . $Date;
$fp=fopen("support.php", "a+");
fwrite($fp, $support);
fclose($fp);
Code:<HTML><TITLE>Support</TITLE> <br/><br/> Name: my name Message: my message Email: myemail Date: 06 August 2007 </HTML>




Reply With Quote