Mark Rogers wrote:
Those two look perfect, thanks!
In case anyone cares, the PHP version would be (using the curl library):
<?php $ch = curl_init('http://209.85.229.147/search?q=test'); curl_setopt ($ch, CURLOPT_HTTPHEADER, array('Host: www.google.co.uk')); curl_setopt ($ch, CURLOPT_RETURNTRANSFER, TRUE); $html = curl_exec($ch); echo $html; ?>