I am trying to use file_get_contents() to get the html from a page.
the following works great: file_get_contents('http://www.mypage.com?Title=Title')
but the following causes an error:
$Title = 'Title';
file_get_contents("http://www.mypage.com?Title=$Title")
Hata:
Bad Request
Your browser sent a request that this server could not understand.
The request line contained invalid characters following the protocol string.
Apache/1.3.41 Server at eiit.org Port 80
Herkes neden biliyor mu?