Allard
04-02-2011, 05:20 AM
Hello,
I have a problem. I have the following code but it doesn't work. If I use the script like this, it works:
$sock->query('/CMD_API_PROTECTED_DIRECTORIES?domain='.$Domain);
But if I use it like this, it is not working. What's the problem?
$sock->query('/CMD_API_PROTECTED_DIRECTORIES', array('domain' => $Domain));
I have a problem. I have the following code but it doesn't work. If I use the script like this, it works:
$sock->query('/CMD_API_PROTECTED_DIRECTORIES?domain='.$Domain);
But if I use it like this, it is not working. What's the problem?
$sock->query('/CMD_API_PROTECTED_DIRECTORIES', array('domain' => $Domain));