https://www.icyphoenix.com/viewtopic.php?f=28&t=6545&p=44879#p44879
-----------------------------------
Mighty Gorgon
Sat 10 Oct, 2009 12:51

Re: ICY Security - Login System
-----------------------------------
If the script is installed in the same root of Icy Phoenix you should add in the common file something like this code:

[codeblock]// CTracker_Ignore: File checked by human
define('MG_KILL_CTRACK', true);
define('IN_ICYPHOENIX', true);
if (!defined('IP_ROOT_PATH')) define('IP_ROOT_PATH', './');
if (!defined('PHP_EXT')) define('PHP_EXT', substr(strrchr(__FILE__, '.'), 1));
include(IP_ROOT_PATH . 'common.' . PHP_EXT);

// Start session management
$userdata = session_pagestart($user_ip);
init_userprefs($userdata);
// End session management[/codeblock]

This will allow you to use Icy Phoenix auth system within your script.


