RE: [PHP-DB] Read lines
| From: | Ben Cairns | Date: | Mon, 26 Mar 2001 10:34:05 +0000 |
| Subject: | RE: [PHP-DB] Read lines | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-6297@lists.php.net to get a copy of this message | ||
HTH...
<?
$file = "YOUR URL/FILE HERE";
$open = fopen($file, "r");
$search = fread($open, FILE SIZE IN BYTES);
fclose($open);
$news[1] = str_replace("replace this, "with this", $grabbed[1]);
?>
<?
echo $grabbed[1]
?>
-- Ben Cairns - Head Of Technical Operations
intasept.COM
Tel: 01332 365333
Fax: 01332 346010
E-Mail: BenC@intasept.com
Web: http://www.intasept.com
"MAKING sense of
the INFORMATION
TECHNOLOGY age
@ WORK......"