Re: PHP editor

From: Date: Thu, 15 Apr 2004 17:02:07 +0000
Subject: Re: PHP editor
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-183495@lists.php.net to get a copy of this message
> Remove all whitespace from the final HTML, then all this doesn't matter. > > function cleanFinalOutput($html){ > $return = eregi_replace("\n", "", $html); > $return = eregi_replace("\r", "", $return); > return eregi_replace("\t", "", $return); > } Have already thought about this but would this not be too time consuming to process this replacement on evey hit? I am using a version of fast template much improved on a site which is already very overloaded so this would mean additional processing and replacements seems to be resources consuming sometimes... ____________________________________________________ Looking for a job!? Use the smart search engine!! Find a Job from Millions WorldWide... http://search.jobsgrabber.com ____________________________________________________

« previous php.general (#183495) next »