1
Quote:
Did you try the version i posted, cause it seems to be running well for me
wcrwcr wrote:
Hi x_movie users.
As that seems to be the official x_movie thread, i´d like to ask if someone of you had some errors trying to use the URL or embed feature.
I´m receiving a "111.Connection refusedNotice" error when php debug is turned on and also a "Warning [PHP]: fsockopen() [function.fsockopen]: unable to connect to www.youtube.com:80 in file modules/x_movie/tpl_imgtype.php line 195" , that leads me to a function using fsockopen() as follows://httpƒwƒbƒ_Žæ“¾
function get_http_response($host, $senddata)
{
$result="";
$obj = fsockopen("$host",80,$errno,$err,15) or die($errno.".".$err);
fputs($obj, $senddata." ".$host."rnrn");
while(!feof($obj)){
$result .= fgets($obj,1024);
}
fclose($obj);
return ($result);
}
Wonderin if that error has something to do with my host "possible" restriction to that function.
Any clue, will be great
Thanks
Did you try the version i posted, cause it seems to be running well for me