My brother did a few more tests with the tips you provided and he didn't get any errors anymore. Strange thing is: nothing happens. He tried to make 2 user-accounts (test1 and test2) and it looks like it's going o.k. but on the server-side nothing happens.
The log-file only says:
[01] Wed, 13 Jan 2010 21:20:41 administrator 'test'(IP:194.109.22.66) executed a webservice script
[01] Wed, 13 Jan 2010 21:24:04 administrator 'test'(IP:194.109.22.66) executed a webservice script
That's all.
This is the script he used:
<?php
error_reporting(E_ALL);
ini_set("display_errors", 1);
$strUrl = "
http://82.92.241.126:5466/admin_webservice.html";
$strUrlParam = '?admin=
(removed for security purposes)&pass=
(removed for security purposes)&cmd=';
$domain = "VDM"; //$_REQUEST['domain']; //which domain for storing accout
$username = $_REQUEST['username']; //account name
$password = $_REQUEST['password']; //account password
$homedir = $username; //$_REQUEST['homedir']; //home directory, like D:/temp
$strLuaScript = <<<EOT
c_AddUser('".$domain."','".$username."',md5('".$password."'),63,1,1)
c_AddUserDirectory('".$domain."','".$username."','".$homedir."','/',true,true,false,false,false,true,false,false,false)
EOT;
$strResult = file_get_contents($strUrl.$strUrlParam.rawurlencode($strLuaScript));
echo $strResult;
echo "<br>".$strLuaScript;
?>
I hope this will help you to solve our problem. :-)
Thanx for your time and service.
André.