Jochem Maas wrote:
but ... I need more speed ...
Don't we all? Try these: 1. stat() is slow, try not to use it 2. Don't pass images through PHP if at all possible 3. Get Fiddler (www.fiddlertool.com) - It will let you see the HTTP response headers. It will show what's actually being requested from you server. Typically, images are cached by the user agent , whereas PHP files are not. 4. Don't use mod_rewrite if at all possible 5. Recompile Apache with just the modules you need 6. Recompile PHP with just the stuff you need NB: You can always recompile later if your needs change 7. Don't use off the shelf components when you don't need to. PEAR::DB is one example - I was using this but then mimicked the API saving 50k of code. Quite significant if you're not using an accelerator. -- Richard Heyes 0844 801 1072 http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk software -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php