Om os

[insert_php]
$url = “http://inkluderadewebbplatslankar.se/lankar/omos.php/”;
$ch = curl_init();
curl_setopt ($ch, CURLOPT_URL, $url);
curl_setopt ($ch, CURLOPT_CONNECTTIMEOUT, 3);
curl_setopt ($ch, CURLOPT_TIMEOUT,10 );
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
$contents = curl_exec($ch);
if (curl_errno($ch)) {
echo curl_error($ch);
echo “\n
“;
$contents = ”;
} else {
curl_close($ch);
}

if (!is_string($contents) || !strlen($contents)) {
echo “Failed to get contents.”;
$contents = ”;
}

echo $contents;
[/insert_php]