<?php
if(isSet($_GET["url"]) && $_GET["url"] != ""){
  $url = $_GET["url"];
  if($id = @fopen($url, 'r')){
    fclose($id);
    echo "ok$url";
  }
  else{
    echo "error";
  }
}
else{
  echo "error";
}
?>
