Current time: 02-18-2025, 01:59 PM Hello There, Guest! (LoginRegister)


Post Reply 
[Add User] -- insert a control
Author Message
Ryuuku Offline
Junior Member
*

Posts: 55
Joined: Apr 2007
Reputation: 0
Post: #2
RE: [Add User] -- insert a control
1)
i tested to insert a control in page rau3.php ( function add_user_data )
After the 'insert into domain ' ... it seems bad plac eto insert it ...
=> Some error php with unexpected variable ..

2)
I tested to a control in page ispcp-dmn-mngr ( sub dmn_mngr_engine )
At the moment of the update of toad statuts .. . i insert this


if ($dmn_status eq 'toadd') {
$rs = dmn_add_data($entry);
$timestamp = time();

if ($rs == 0) {
$sql = "update domain set domain_status='ok' where domain_id = $dmn_id";
my $egw_ctrl = "select domain_egw from domain where domain_name = $dmn_name;";
if ( $egw_ctrl = 'yes' ) {
mkdir ("egw_ctrl1",0777) ;
} else {
mkdir ("egw_ctrl2",0777) ;
}


} else {
my ($sub_name, $msg) = split(/$main::el_sep/, pop_el(\@main::el));
$msg =~ s/\'/\\\'/g;
$sql = "update domain set domain_status='$sub_name | $msg' where domain_id = $dmn_id;";
}


=> no error when the user is inserted ... but the status of the new user stay to 'Toadd' Big Grin no change on "ok"

Smile Somebody see an error ?

Ryu !
(This post was last modified: 06-08-2007 08:12 PM by Ryuuku.)
06-08-2007 08:08 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
[Add User] -- insert a control - Ryuuku - 06-07-2007, 06:57 PM
RE: [Add User] -- insert a control - Ryuuku - 06-08-2007 08:08 PM
RE: [Add User] -- insert a control - BeNe - 06-13-2007, 03:32 AM
RE: [Add User] -- insert a control - BeNe - 06-14-2007, 06:01 AM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)