Hi,
file_get_contents does not work on LSWS 4.2.1 ( Blank page/no result ).
Here is the code :
here is header check :
I have tried on another host ( Not Litespeed ) and the script above can work properly. Please help me
Thanks
file_get_contents does not work on LSWS 4.2.1 ( Blank page/no result ).
Here is the code :
PHP:
<?php
$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');
echo $contents;
?>
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
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
Thanks
Last edited by a moderator: