สอบถามเพิ่มเกี่ยวกับ xml load แบบไหนไวกว่ากันครับรหว่าง
-----------------------------------------------------------------------------
แบบ 1
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $request);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$data = curl_exec($ch);
curl_close($ch);
$parxml = new SimpleXMLElement($data);
-----------------------------------------------------------------------------
// แบบ 2
$parxml = simplexml_load_file($request) or die("Sorry, can't open this: ".$request);
-----------------------------------------------------------------------------
หรือมีแบบที่ไวกว่าแนะนำหน่อยนะครับ อยากให้เวปเปิดไวๆ คือมันชอบช้าตอนที่ loop เรือยๆ พร้อมกัน
