cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Help

From: Nelson Johnson <nelsonjohnson646_at_hotmail.com>
Date: Sun, 23 Oct 2011 00:28:53 +1200

Hello,

I have some problems to understand cURL. I wrote a get request for google.com
This request is working fine but my browser Im using is sending some other requests too.

The request I wrote is: GET / HTTP/1.1 for http://www.google.com/
Now the browser does requests like:

GET /logos/2011/liszt11-hp.jpg HTTP/1.1

or

GET /generate_204 HTTP/1.1

How can I send these requests with cURL as well and echo the site then?

Thanks for your help :)

                                               

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2011-10-23