Re: how do I use php://memory?

From: Date: Sat, 30 Jan 2010 00:38:28 +0000
Subject: Re: how do I use php://memory?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-301668@lists.php.net to get a copy of this message
On Fri, Jan 29, 2010 at 5:35 PM, Mari Masuda <mari.masuda@stanford.edu>wrote: > Hello, > > I have a function that uses tidy to attempt to clean up a bunch of crappy > HTML that I inherited. In order to use tidy, I write the crappy HTML to a > temporary file on disk, run tidy, and extract and return the clean(er) HTML. > The program itself works fine but with all of the disk access, it runs > quite slowly. why read from disk in the first place? http://us3.php.net/manual/en/tidy.parsestring.php -nathan

« previous php.general (#301668) next »