I have this PHP code below that loads a web page into the "$message"

$lineArray = file($web_page);

// make an empty variable first
$message =  "";

// concat all array element
foreach($lineArray as $eachLine) {
$message .= $eachLine;

$additional_text = "blah blah blah";

$message = $additional_text . $message;

and then write that to a file.  I do not know the command to write it to a
file.  And I need to make this edit to each and every HTML file within my
site === I am not sure how to tell the computer to open up each file within
each directory.


PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to