----- Original Message -----
Sent: Monday, February 02, 2004 4:43
AM
Subject: RE: OpenSRS Undefined
Returns...
I think, they provide enough information in their API documentaion.
anybody should have enough information to do the required call and process
information. And if you really want to see what parameters opensrs returns
while making a call, you can catch the array in a variable and get it emailed
to you.In a php specific context:
$result=$opensrs->many_comands($cmd);
ob_start();
print_r($cmd);
$tomail=ob_get_contents();
ob_end_clean();
mail($to,"Opensrs
Array","$tomail","From:$from");
The above should return the array opensrs returns to any call.
I hope this helps..
Krishnendu
Amit Rana <[EMAIL PROTECTED]> wrote:
>
Shouldnt OpenSRS have a list of all possible returned parameters?
>
Does OpenSRS have a list of all returned parameters/error messages in
or
>under any circumstances?
Any such list would be "very" helpful
especially when you don’t want to
show English error messages to users.
For eg: when an SSL order fails
because of a bad CSR there could be
several things wrong with the CSR
which API returns nicely but there is
no mapping of error code/error
message (or any list of all messages)
using which we can customize our
messages or handle errors as we
want.
Regards,
Amit.
-----Original Message-----
From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf
Of [EMAIL PROTECTED]
Sent: Monday, February 02, 2004 9:35 AM
To:
[EMAIL PROTECTED]
Subject: OpenSRS Undefined
Returns...
Shouldnt OpenSRS have a list of all possible returned
parameters? For
example if someone trying to code the API to
transfer domains and set
the domain transfer years to 5 years, OpenSRS
would fail because it does
not support 5 year transfers... causing
some problems in the future...
Does OpenSRS have a list of
all returned parameters/error messages in or
under any
circumstances?
Thank You
-Hayk A.
BT
Yahoo! Broadband - Free modem offer, sign up
online today and save £80