SICCO Securities Public Company Limited
// Get a file into an array. In this example we'll go through HTTP to get
// the HTML source of a URL.
$lines = file('http://www.rgb72.net/ssec/innset.php');
// Loop through our array, show HTML source as HTML source; and line numbers too.
$aj="Ceiling";
foreach ($lines as $line_num => $line) {
$poss=strstr($line,$aj);
if (strlen($poss)>3) {
//echo $line_num.$poss." ";
$ban=$line_num;
//echo $ban." ";
$bm=$ban+5;
$bmx=$ban+14;
}
if ($line_num>$bm and $line_num<$bmx) {
//if ($line_num>371 and $line_num<420) {
//echo "boo"." ";
$baaa=$baaa.$line;
}
// echo "Line #{$line_num} : " . htmlspecialchars($line) . " \n";
}
$boom="'";
$gs9=ereg_replace('"',$boom,$baaa);
$gs10=ereg_replace('