My code running on the pc works 100% but when I play on the server it does not capture the information. follow code for you to help me
<link type="text/css" rel="stylesheet" href="http://jsuol.com.br/c/_template/v1/_geral/css/styles.css?&file=geral&type=parse&versao=v1&plataforma=web&portal=uol&media=webpage&cache=19t3e89gn" />
<link type="text/css" rel="stylesheet" href="http://jsuol.com.br/c/_template/v1/_geral/css/styles.css?&file=especifico&type=parse&versao=v1&plataforma=web&portal=uol&estacao=economia&estacao-id=economia&cache=19t3e89gn" />
<link type="text/css" rel="stylesheet" href="http://jsuol.com.br/c/_template/v1/web/uol/css/internas/economia/cotacoes/styles-cotacoes.css?&cache=19t3e89gn" />
<link type="text/css" rel="stylesheet" href="http://jsuol.com.br/c/economia/cotacoes/cotacoes.css?v13&&cache=19t3e89gn" />
<link type="text/css" rel="stylesheet" href="http://jsuol.com.br/c/_template/v1/web/uol/css/estrutura/conteudo-auxiliar.css?&cache=19t3e89gn" />
<?php
$url = file_get_contents('http://economia.uol.com.br/cotacoes/');
preg_match_all('/<section class="barra-ticker pg-bgcolor3">(.+)<\/p> <\/li> <\/ul> <\/div> <\/section>/s', $url, $conteudo);
$exibir = $conteudo[0][0];
$retirar = array('');
$exibir = str_replace($retirar, '', $exibir);
echo $exibir;
?>