// specify user that currently is logged in
$the_user = "Frank";
$fsock = new HTTPGetSocket('server.domain.com:2222','admin:password');
if ($fsock->request("/CMD_API_SHOW_USER_CONFIG?user=$the_user"))
{
$array_userdata = $fsock->array_last_parsed();
}
else {
die("Could not connect to server.domain.com<p>".join('<p>',$fsock->error));
}
if ( $array_userdata['usertype'] == 'reseller' )
{
$fsock->request("/HTM_INDEX");
echo join('',$fsock->result);
}
Yea, you don't want to modify that file. To the best of my knowledge it will be overwritten next time DA is upgraded.RingToons wrote on 10-02-2003 09:41 AM:
You wrote:
Oh sorry. I probably just read your post wrong *sigh*
On the real problem, umm.. have you modified /usr/local/directadmin/data/templates/default?
I wrote: Yes I change this file.
Jaider (from holland)