Current time: 05-18-2024, 05:35 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: #5
RE: [Add User] -- insert a control
So results of my test Smile
Following your advises , i create this function >>>

Code:
## Domain Egroupware Manager

sub set_egw_dmn {

my ($rs, $rdata) = ('', '');
my ($dmn_data) = @_;
my $dmn_name = @$dmn_data[1];

my $sql = "select domain_egw from domain where domain_name = $dmn_name";

($rs, $rdata) = doSQL($sql);

if ($sql eq 'yes') {
        mkdir ('egw_ctrl1',0777) ;
} elsif ($sql eq 'no') {
        mkdir ('egw_ctrl2',0777) ;
}

} # Fin Fonction set_egw_dmn


mkdir are just commands to see if function is well executed
..
When i add a new user :
-> The insert is well done in database ... Wink
-> Dir ( egw_ctrl1 or egw_ctrl2 ) isn't created Tongue
-> Status still stay on 'toadd' :X ... Big Grin
-> Delete this new user is well done Smile

So i have to fix this Tongue Wink [/code]
(This post was last modified: 06-09-2007 12:39 AM by Ryuuku.)
06-09-2007 12:36 AM
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-09-2007 12:36 AM
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: 1 Guest(s)