holas...
les cuento que encontré la solución... navegando un poco y en la misma página de php.net encontré este código... lo dejo aquí por si alguien más lo necesita...
Código PHP:
function filemtime_remote($uri)
{
$uri = parse_url($uri);
$handle = @fsockopen($uri['host'],80);
if(!$handle)
return 0;
fputs($handle,"GET $uri[path] HTTP/1.1\r\nHost: $uri[host]\r\n\r\n");
$result = 0;
while(!feof($handle))
{
$line = fgets($handle,1024);
if(!trim($line))
break;
$col = strpos($line,':');
if($col !== false)
{
$header = trim(substr($line,0,$col));
$value = trim(substr($line,$col+1));
if(strtolower($header) == 'last-modified')
{
$result = strtotime($value);
break;
}
}
}
fclose($handle);
return $result;
}
modo de uso:
Código PHP:
echo filemtime_remote('http://www.otraweb.com/archivo.txt');
Fuente:
http://www.php.net/manual/es/functio...time.php#50839
ojalá a alguien más le sirva....
saludos!