I need the following PHP code to be rewritten in c (not c++),
you can use only standard header files, the source code must compile in lcc-win32 (which is a C compiler for windows). Do not use any nonstandard libraries which are not in windows by default.
The PHP code is here:
<?
$data=file_get_contents("http://www.google.com/");
echo $data;
?>