file_get_contents error
Posted: Sun Jan 10, 2010 2:01 pm
hi i have a little problem 
$adres2 = file_get_contents("http://www.rixoyun.com/kanal_d_oyunlari_oyna.htm");
this is ok
but when i make it
$adres2 = file_get_contents($url);
(i get URL variable with GET function)
it still ok.
But when i write a url with HTTP:// it gives forbidden error.
What must i do?
$adres2 = file_get_contents("http://www.rixoyun.com/kanal_d_oyunlari_oyna.htm");
this is ok
but when i make it
$adres2 = file_get_contents($url);
(i get URL variable with GET function)
it still ok.
But when i write a url with HTTP:// it gives forbidden error.
What must i do?