Using CURL to avoid 403 response from the w3c validator server

Using file_get_contents the W3C server returns 403:
"Warning: file_get_contents(http://validator.w3.org/check?uri=http://www.google.it): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden /...path.../"