The code that I have tried is something like this.
<?php
$comprovar_link = $linkweb;
//$a = ;
if (@fopen("$comprovar_link","r"))
{
$b = "activo";
}
else
{
$b = "inactivo";
}
?>
I pass the variable $linkweb from another site and it arrives correctly so it is not its fault.
The problem is in the fopen function but sometimes it r00lz and others no.
I am dubting a lot 🙂