Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38623 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4225 invoked from network); 26 Jun 2008 02:57:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Jun 2008 02:57:54 -0000 Authentication-Results: pb1.pair.com header.from=larry@garfieldtech.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=larry@garfieldtech.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain garfieldtech.com from 76.96.62.32 cause and error) X-PHP-List-Original-Sender: larry@garfieldtech.com X-Host-Fingerprint: 76.96.62.32 qmta03.westchester.pa.mail.comcast.net Received: from [76.96.62.32] ([76.96.62.32:50032] helo=QMTA03.westchester.pa.mail.comcast.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E7/F1-20985-E9503684 for ; Wed, 25 Jun 2008 22:57:45 -0400 Received: from OMTA11.westchester.pa.mail.comcast.net ([76.96.62.36]) by QMTA03.westchester.pa.mail.comcast.net with comcast id iRiu1Z00Q0mv7h05305j00; Thu, 26 Jun 2008 02:57:23 +0000 Received: from earth.ufp ([24.13.255.226]) by OMTA11.westchester.pa.mail.comcast.net with comcast id iSxJ1Z00B4trKQ83XSxJo5; Thu, 26 Jun 2008 02:57:18 +0000 X-Authority-Analysis: v=1.0 c=1 a=d7MOgYNmmhMA:10 a=jrjhmERXzG4A:10 a=NNLTRhpgb3EBWzUmGScA:9 a=4uIa0tVQPZSklu9ub-YA:7 a=Rc40tnHX_vxDga9mM3_XsqiU7qEA:4 a=FHBbIDN7CdwA:10 a=LY0hPdMaydYA:10 Received: from localhost (localhost [127.0.0.1]) by earth.ufp (Postfix) with ESMTP id 08B65D871B for ; Wed, 25 Jun 2008 21:57:18 -0500 (CDT) Received: from earth.ufp ([127.0.0.1]) by localhost (earth.ufp [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x7t5nirRLt3P for ; Wed, 25 Jun 2008 21:57:17 -0500 (CDT) Received: from luna.local (unknown [192.168.42.104]) by earth.ufp (Postfix) with ESMTP id 92C7AD7C65 for ; Wed, 25 Jun 2008 21:57:17 -0500 (CDT) To: internals@lists.php.net Date: Wed, 25 Jun 2008 21:57:16 -0500 User-Agent: KMail/1.9.9 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200806252157.16860.larry@garfieldtech.com> Subject: Re: [PHP-DEV] Re: Using Network functions. From: larry@garfieldtech.com (Larry Garfield) On Wednesday 25 June 2008 6:22:22 pm Mangol Smith wrote: > Hey guys, > > someone suggested me to have a look at libcURL. I did, but its very > complex. > > All I needed is lowlevel/network wrappers. > > like emalloc() & pemalloc() as wrapper on malloc(). There might be some > wrappers (platform independent & used in php source code) which I can use > to make a connection and then send HTTP requests. > > I hope this will be the simplest method. Why do you need raw string level control over the HTTP request? Wouldn't it be easier to use something that will handle all of the thousand edge cases and locking for you? (That is, I think, part of the meaning behind the obvious solution, write to a socket yourself, not being the right solution, letting someone else do the hard stuff for you.) -- Larry Garfield larry@garfieldtech.com