> 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 ____________________________________________________ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php