Re: Opening a socket and sending GET data
| From: | Chris Shiflett | Date: | Fri, 22 Nov 2002 23:47:13 +0000 |
| Subject: | Re: Opening a socket and sending GET data | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-125694@lists.php.net to get a copy of this message | ||
Your request looks fine. What are you doing with $query once you have
constructed it?
Another question worth asking is what is your ultimate goal here? I'm
not sure performing a manual request is necessary, but maybe it is.
Chris
--- Todd Cary <todd@aristesoftware.com> wrote:
> # now we build our query
> $query = "GET $abs_url" .
> "HTTP/1.0\r\n" .
> "Accept-Language: en-us\r\n".
> "Host: $host:$port\r\n".
> "Connection: close\r\n";