Hello There, Guest! Register

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A few small bugs and suggestions
09-08-2009, 05:32 PM,
RE: A few small bugs and suggestions
(09-08-2009, 05:21 PM)umarsa Wrote: Hmm i think most servers support mod_rewrite lol.

How on earth do i hash it??

Here's a copy & paste from our developmental forums:

The format for the XML-API will be like:

If you had to pass a param to the function you would do it like this:

Now how would you hash these functions to create a valid auth?
If you have no params:
PHP Code:
hash('sha512'sha1($function) . sha1($key)) 
$function is the function and $key is the api-key.

Now if you have parameters...
PHP Code:
hash('sha512'sha1($function '|' $params) . sha1($key)) 
Where $function is your function, $params are your parameters, and $key is your api-key.

(09-08-2009, 05:28 PM)Jonny Wrote: About the WHM Importer.
When you use the API to get all the information for the WHM accounts it doesn't pass along the email.

Yes it does...

Kevin Mark - TheHostingTool Lead Developer

Messages In This Thread
A few small bugs and suggestions - umarsa - 09-08-2009, 05:00 PM
RE: A few small bugs and suggestions - Kevin - 09-08-2009, 05:32 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)