Error 500
-
Hi, this code is not working
function getFile($url){
$ch = curl_init();
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$tmp = curl_exec($ch);
curl_close($ch);
if ($tmp != false){
return $tmp;
}
}$contents = getFile(‘http://bsoftsistemas.mysuite.com.br/empresas/bso/verifica.php’);
echo $contents;
what i’m doing wrong?
Tnx
The topic ‘Error 500’ is closed to new replies.