Re: how do I spoof a get request
| From: | Matt Babineau | Date: | Tue, 12 Aug 2003 21:26:02 +0000 |
| Subject: | Re: how do I spoof a get request | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-159369@lists.php.net to get a copy of this message | ||
Take a look at cURL: http://www.php.net/manual/en/ref.curl.php
On Tue, 2003-08-12 at 20:13, Dan Anderson wrote:
> I have noticed that sometimes I cannot fopen($web_address,'r') or use
> any similar files if the web address contains a form get in it. (i.e.
> ends in a ?var1=xxx&var2=xxx...). I was wondering if there is any way
> to spoof a get request to a web address? I looked at fsockopen and
> think I need to look over the http specifications, but is there an
> easier way?
>
> Also, is there any easy way to spoof posting a form?
>
> Thanks in advance,
>
> Dan
>