Suspending/Activating Accounts

RosT

Verified User
Joined
Jul 4, 2004
Messages
73
PHP:
$sock = new HTTPSocket;
$sock->connect("$da_ip",2222);
$sock->set_login("$da_user","$da_password");
$sock->set_method('GET');
$sock->query('/CMD_SELECT_USERS',
	array(
	'location' => '/CMD_USER_SHOW',
	'suspend' => 'Suspend',
	'select0' => "$order->dalogin"
	));
$result = $sock->fetch_body();

All OK. Account suspending. But if run this again, account unsuspending. Why? I want unsuspend account by 'suspend' => 'Unsuspend'

What to do for 'suspend' => 'Suspend', don't unsuspend accounts?

Sorry for bad English, i'm from Ukraine :)
 
Back
Top