• 25-05-2007, 10:21:24
    #1
    Warning: file_get_contents(): URL file-access is disabled in the server configuration in /home/content/b/i/r/*******/html/videoara.php on line 85

    Warning: file_get_contents(http://www.youtube.com/api2_rest?met...**&tag=bursa): failed to open stream: no suitable wrapper could be found in /home/content/b/i/r/birvideolar/html/videoara.php on line 85


    file_get_contents(): kapalı dior file_get_contents(): yerine ne kullanabilirim
  • 25-05-2007, 12:02:04
    #2
    PHP: file - Manual
  • 25-05-2007, 12:13:47
    #3
    godaddy den hosting alıpta yapamayan olursa php.ini dosyasının işinde

    allow_url_fopen = off

    olan yer

    allow_url_fopen = on

    yaparlarsa çalışır
  • 25-05-2007, 14:15:56
    #4
    Misafir
    function VeriAl($adres) {
     $ch = curl_init();
      curl_setopt($ch, CURLOPT_USERAGENT, "MSIE 6.0; Windows NT 5.0v90"); 
      curl_setopt($ch, CURLOPT_URL, $adres );
       curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
       curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
       curl_setopt($ch, CURLOPT_HEADER,false); 
       $sonuc = curl_exec($ch);
    curl_close($ch);
    return $sonuc;
    }

    bunuda kullanabilirsin