Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Froxlor and THT Integration
#9
A late answer for the OP but may come in useful for someone else:
That code provided by the OP (froxlor.php) should be added to the froxlor script, not THT. Then you need to modify da.php (in THT) with:

public function signup($server, $reseller, $user = '', $email = '', $pass = '') {

...

$testFroxlor = new altruFroxlor("127.0.0.1","3306","froxlor","superpassword","froxlor");

$cust_id = $testFroxlor->createCustomer(...);

$testFroxlor->createDomain(...);

return true;

}


How to use:
<?php

include_once ("classes/altrufroxlor.class.php");

$testFroxlor = new altruFroxlor("127.0.0.1","3306","froxlor","supersecretpassword","froxlor");

$cust_id = $testFroxlor->createCustomer("testclass","testpassword","2048","10","test user",
"test","[email protected]",3,10,3,3,3);

$testFroxlor->createDomain($cust_id,"testdomain.com","testclass");

$testFroxlor->renderOpenCP("testclass","testpassword","https://localhost",true,true);

?>
Reply


Messages In This Thread
Froxlor and THT Integration - by ineedhelp - 02-23-2012, 10:59 AM
RE: Froxlor and THT Integration - by Kevin - 02-24-2012, 10:31 PM
RE: Froxlor and THT Integration - by Liam D. - 02-25-2012, 07:32 AM
RE: Froxlor and THT Integration - by ineedhelp - 02-26-2012, 10:56 AM
RE: Froxlor and THT Integration - by Kevin - 02-26-2012, 07:02 PM
RE: Froxlor and THT Integration - by Liam D. - 03-01-2012, 08:10 AM
RE: Froxlor and THT Integration - by Kevin - 03-01-2012, 09:53 PM
RE: Froxlor and THT Integration - by Liam D. - 03-06-2012, 07:45 AM
RE: Froxlor and THT Integration - by zbdblues - 09-28-2013, 06:02 AM
RE: Froxlor and THT Integration - by Kevin - 09-29-2013, 01:23 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)