with HTTP 1.1, you just need the normal url, for the GET, but if you want to
use POST or something, you do strlen() and get the length, set the
contentlength, then you send it...make sure to do urlencode before sending
stuff via get, or doing stuff with POST...i wrote a perl POST Client,
because m
On Wed, 3 Oct 2001 17:46:50 +0200, Kamil Nowicki wrote:
>
> Hello everyone!
>
> I have a problem. My webpage (say webpage_1) needs to get some
>data
>presented on other webpage (wepage_2). I tried to use
>fopen("http://webpage_2?params","r";) and got connection and stuff,
>but
>I suppose that we
So you need a browser of your own?
You should be using
fosockopen()
php.net/fsockopen
Maxim Maletsky
www.PHPBeginner.com
-Original Message-
From: Kamil Nowicki [mailto:[EMAIL PROTECTED]]
Sent: mercoledi 3 ottobre 2001 17.47
To: PHP-list
Subject: [PHP] How to simulate any browser
Hello again
I suppose I was not precise enough.
> with HTTP 1.1, you just need the normal url, for the GET,
And what do I do with it? How to send it as a request?
> but if you want to
> use POST or something, you do strlen() and get the length, set the
> contentlength, then you send it...
What does the error page have?
- Original Message -
From: "Kamil Nowicki" <[EMAIL PROTECTED]>
To: "PHP-list" <[EMAIL PROTECTED]>
Sent: Thursday, October 04, 2001 2:55 AM
Subject: Re: Re: [PHP] How to simulate any browser
>
> Hello again
>
Me again
> > And gives error page in $output.
> What does the error page have?
The error page is generated by JSP and gives me
some error with VBS and dll.
When I use cURL (on other server) to get to
the same script on the same JSP server with
the same input I get correct data (if using GET
Thanx. I'll check it out.
> I think you need snoopy. (http://sourceforge.net/projects/snoopy/)
Kamil 'Hilarion' Nowicki
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PRO
7 matches
Mail list logo