pfsockopen() example desired

From: Date: Fri, 25 Feb 2000 19:31:03 +0000
Subject: pfsockopen() example desired
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-10990@lists.php.net to get a copy of this message
Looking for an example of pfsockopen() that connects to host, retreives some information. Sends new request, retrives more information. www.yahoo.com GET / www.yahoo.com GET / Something else So far I've been unable to accomplish this, and am thinking of filing a bug. August > -----Original Message----- > From: Matthew Hixson [mailto:matt.hixson@vista.com] > Sent: Friday, February 25, 2000 11:17 AM > To: php4beta@lists.php.net > Subject: Re: [PHP4BETA] PHP and Apache > > > On Thu, 24 Feb 2000, you wrote: > > PHP4Beta List wrote: > > > > > > We are tring to advocate the use of PHP in some of our > projects at work, and had a few questions. When a php file is > loaded by Apache is it cached for subsequent accesses or is it > destroyed immediately after its first use. I'm asking because we > are starting to put together a whole collection of classes for a > project we're working on, and do want them to have to all be > loaded into memory each time a page is hit. I believe JAVA > servelets are loaded and compiled once by each server thread, and > we wondered if PHP did the same. Any answers or other > suggestions would be welcomed! Thanks! > > > > PHP will parse and compile everything for each request. There will be a > > (commercial) add-on for keeping them in memory. > > Are there any plans for an open source product to be written that > will have > this functionality? > -M@ > > -- > Matthew Hixson > Code Mangler > Vista.com > Bringing Small Business Online > > -- > PHP 4.0 Beta Mailing List <http://www.php.net/version4/> > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net > For additional commands, e-mail: php4beta-help@lists.php.net > To contact the list administrators, e-mail: php4beta-admin@lists.php.net >

« previous php.version4 (#10990) next »