Forum Moderators: coopster
tip1 = 'Nate Abeare<br>(810) 625-2374';
This is what I have, exciting huh!
<?php $url = "http://example.com/prospectlist.html";
$filepointer = fopen($url,"r");
if($filepointer){
while(!feof($filepointer)){
$buffer = fgets($filepointer,4096);
$file .= $buffer;
}
fclose($filepointer);
} else {
die("Could not open file");
}
?>
<?php
$regexname = "/[tip1 = ']/";
preg_match_all($regexname,$file,$match);
$result = $match[1];
echo $result ;
?>
[edited by: eelixduppy at 1:37 pm (utc) on Aug. 28, 2007]
[edit reason] use example.com, please [/edit]