societyofrobots Posted May 30, 2009 Share Posted May 30, 2009 For some reason, include("my_file.php") takes ~2 seconds. If I include the exact same code that's in that include file outside of the include() it works fast, no problem. I've tried turning on php output_buffering=on and using file_exists() but no luck. I even tried: include($_SERVER['DOCUMENT_ROOT'] . '/my_file.php'); but the delay was the same. Ideas? I'm using PHP Version 4.3.9. -------- Similar question externally posted here (cross reference): https://sourceforge.net/forum/message.php?msg_id=7418412 http://www.societyofrobots.com/robotforum/index.php?topic=8015.0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.