[solved] file_get_contents does not work on LSWS 4.2.1
file_get_contents does not work on LSWS 4.2.1 ( Blank page/no result ).
Here is the code :
here is header check :
$contents = file_get_contents('http://www.bing.com/search?q=litespeed&qs=n&form=QBLH&pq=ngodi&sc=0-0&sp=-1&sk=&format=rss');
I have tried on another host ( Not Litespeed ) and the script above can work properly. Please help me
HTTP/1.0 200 OK =>
Date => Sun, 02 Dec 2012 01:51:21 GMT
Server => LiteSpeed
Connection => close
X-Powered-By => PHP/5.3.19
Content-Type => text/html
Content-Length => 0
Last edited by NiteWave; 12-02-2012 at 06:22 PM..