[PHP] What is wrong (was: How to simulate any browser)

2001-10-05 Thread Kamil Nowicki
Hello again I had a problem: 1. I was able to open one certain web page with any normal browser and got proper output 2. I was able to open the same page with cURL and got the same proper output 3. When I used fopen("http://server.com/","r") or file("http://server.com","r") I

Re: Re: Re: [PHP] How to simulate any browser

2001-10-04 Thread Kamil Nowicki
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

Re: Re: [PHP] How to simulate any browser

2001-10-04 Thread Kamil Nowicki
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

[PHP] How to simulate any browser

2001-10-03 Thread Kamil Nowicki
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 webpage_2 uses some script checking what type of browser sent

Re: Re: [PHP] How to simulate any browser

2001-10-03 Thread Kamil Nowicki
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...

[PHP] curl_exec() output and curl_setopt( CURL_CERTIFICATE, $path )

2001-09-25 Thread Kamil Nowicki
1. How to redirect curl_exec() output to a variable without passing it thru a file? 2. Is there a way to use CRT certificates with cURL [curl_setopt( CURL_CERTIFICATE, $path ) ]? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP] Hello, I'm new one here

2001-09-24 Thread Kamil Nowicki
Hello there! I'm new one on this mailing list, and at the begining of this mail I would like to excuse myself for my poor english. I have a question about cURL library in Apache: Is it capable of making SSL (https) link to specific server using specific CRT formatted certificate?