reset and begin
1/06/2010

lấy tin từ trang khác

<?php $xuat=""; $f = fopen("http://www3.tuoitre.com.vn/transweb/giavang.htm", "rb");
 $contents = ''; while (!feof($f)) { $contents .= fread($f, 8192); }
fclose($f);
$mau = '/<table width="100%" id="tbl">(.*)<\/body>/si';
if(preg_match($mau,$contents,$str)==true)
{ $xuat = "<body>".$str[0].""; } echo $xuat; ?>

Bloger Comments
G+ Comments
Comments FaceBook

No comments:

List

Profiles Information


About me : Nothing is 1 vài thứ - 1985

Places I've Lived : I Hà Nội

Home Page : http://www.shimivn.blogspot.com/

Think : 1:1000000000

Languages spoken : Vietnamese,English.

Mobile : sony C2305

dell : i3-Ram 3GB- HDD 250GB .