Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Best PHP include() practice
Name: RTAdams89 Date: December 8, 2008 at 12:18:48 Pacific OS: XP Pro SP3 CPU/Ram: na Product: N/a / NA
Comment:
I have a "functions.php" which contains all the functions used across my site. It is currently 48KB and contains all the functions my site uses.
I wondering if this effects performance? Should I instead, have a separate include file for each logical group of functions, and then include() only the relevant files on each of my content pages?
Summary: Hello, I'm new to PHP and trying to figure out how to protect PHP include files. I've searched google and got one solution which needs to edit php config to make those files with certain extensions in...
Summary: I am using PHP include code <?php if($page == "") { include "updates.txt"; } else { include "$page.txt"; } ?> on my website, http://www.animeplanetnet.net, and my host does support PHP, but wheneve...