Protected Directories

Allard

New member
Joined
Mar 18, 2011
Messages
25
Hello,

I have a problem. I have the following code but it doesn't work. If I use the script like this, it works:

PHP:
$sock->query('/CMD_API_PROTECTED_DIRECTORIES?domain='.$Domain);

But if I use it like this, it is not working. What's the problem?

PHP:
$sock->query('/CMD_API_PROTECTED_DIRECTORIES', array('domain' => $Domain));
 
Okey, thanks. I have changed the 'method' in 'Get'. Now it works perfectly.
 
Back
Top