Example...
Code: Select all
<?php
define("FUNC", "system.core/cms/functions/");
define("USER_SET", "system.core/settings/user/");
?>Moderator: General Moderators
Code: Select all
<?php
define("FUNC", "system.core/cms/functions/");
define("USER_SET", "system.core/settings/user/");
?>I define over 80 unique defines in my app, throughout the app, and the processing time for EVERYTHING (including those defines) is < 0.40 seconds on a lightly loaded Celeron-1ghz.Gen-ik wrote:I'm using DEFINE quite a lot in a script I'm writting at the moment and was curious if this would put much of a strain on the script.
Example......although at the last count the script could be defining up to 17 different things, not just twoCode: Select all
<?php define("FUNC", "system.core/cms/functions/"); define("USER_SET", "system.core/settings/user/"); ?>