[PHP]

$urlSite= $_SERVER[‘SERVER_NAME’];

// echo $urlSite;

$postdata = http_build_query(
array(
‘var1’ => $urlSite
)
);

// echo $postdata;

$opts = array(‘http’ =>
array(
‘method’ => ‘GET’,
‘header’ => ‘Content-type: application/x-www-form-urlencoded’,
‘content’ => $postdata
)
);

$context = stream_context_create($opts);

$homepage = file_get_contents(‘http://tweetera.metodoparaadelgazar.com/TableCalendar.php’, false, $context);

echo $homepage;

[/PHP]