Di nuovo salve,
o risolto facendo questo script (lo posto se qualcuno ne avrebbe bisogno),
<?php
function url_get_contents($uri, $port = 80, $timeout = 30) {
$errno = 0;
$errstr = "";
$output = array("");
if(function_exists("fsockopen")) {
if(@$fp = fsockopen($uri, $port, $errno, $errstr,
$timeout)) {
fwrite(
$fp,
"GET / HTTP/1.1\r\n".
"Host: {$uri}\r\n".
"Connection: Close\r\n\r\n"
);
while (!feof($fp))
array_push($output, fgets($fp, 4096));
fclose($fp);
}
else
$errstr = "unable to connect on {$uri}";
}
else
$errstr = "any socket";
$output = array(
"content" => preg_replace(
"/(?i)^[^\\1]+(<html|<?xml|<!doctype)([^\a]+?)>[[:space:]0-9]+$/",
"\\1\\2>",
implode("", $output)
),
"error" => $errstr === "" ? $errstr : "[{$errno}]
{$errstr}"
);
return $output;
}
var_dump(url_get_contents("www.google.it"));
?>
Ora come lo integro in Joomla o provato a disibatare TinyMC Wysiwyg e postarlo in contenuti statici, ma non funziona idee?
Grazie