fsockopen

Get multiple pages with a single fsockopen

Hy all. I need to get the content of multiple pages from a single domain. Now for each page I use an fsockopen connection, and I get the content of the page this way: <?php $fp = fsockopen("www.example.com", 80, $errno, $errstr, 30); if (!$fp) { echo "$errstr ($errno)<br />\n"; } else { $out = "GET /page1.html HTTP/1.1\r\n"; ...

NuSOAP / fsockopen error - Couldn't open socket connection to server , Error (13): Permission denied

I have a php application using NuSOAP on a RHEL5/CentOS dedicated system. I'm runing into the following error: 2010-10-21 06:23:43.374471 soap_transport_http: entered send() with data of length: 1693 2010-10-21 06:23:43.374510 soap_transport_http: connect connection_timeout 0, response_timeout 30, scheme http, host www.mysite.com, port...

PHP Application - Quick connection to HTTPS server

Hello there, The problem is, what I want to develop an application (probably PHP?), capable of making quick connection to a SSL secured server and send/get data from it. My aim is to make it send the query and read the result as quick as possible. I am trying various solutions and benchmarking them all. I have tried fsockopen() and CURL,...