curl-and-php
RE: Help
Date: Mon, 24 Oct 2011 05:50:12 +1200
Hello David,
Thanks for your response. The script is in the attachment.
I think that the second request work. I'm trying around with cURL and want to load google just with cURL so the browser does not need
to do anything because everything was loaded by the server.
The problem is that the logo I want to display does not work.
Thanks for your help :)
Nelson
From: dolan2go_at_yahoo.com
Subject: Re: Help
Date: Sun, 23 Oct 2011 13:02:15 -0400
To: curl-and-php_at_cool.haxx.se
Nelson,
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?
Do you have code example??
David
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
- application/octet-stream attachment: googleget.php