Live: http://www.onlinenic.com/cgi-bin/english/E_b_check_domain.cgi
user_id | Your OnlineNIC reseller id. |
o_time | Order time, format YYYY-MM-DD HH:MM:SS. Example: 2000-02-20 12:03:33 |
url | This is the full path URL to your template CGI. The OnlineNIC server will communicate its results to this CGI. |
checksum | MD5 validation key between reseller and OnlineNIC. |
domain | Domain to be registered. Use domain.com, domain.net, or domain.org for testing purposes. |
type_encode | Domain language type: 0 (ascii), 1 (simplified Chinese), 2 (traditional Chinese), 3 (Japanese), 4 (Korean), 800(.biz), 805(.info) |
Note: MD5 validation code (checksum) is produced as follows:
checksum = md5(user_id+o_time+url+md5(password)+domain)
"Password" refers to the reseller's OnlineNIC passowrd. Other values are identical to those variables submitted by reseller during registration.
<form action="http://www.onlinenic.com/cgi-bin/english/E_b_check_domain.cgi" method="POST">
<input type="hidden" name="user_id" value="10575">
<input type="hidden" name="o_time" value="2000-06-18 20:00:00">
<input type="hidden" name="url" value="http://yourserver.com/yourscript.php">
<input type="hidden" name="checksum" value="419021bc54f522ecfe8903a7895735f5">
<input type="hidden" name="domain" value="mydomain">
<input type="hidden" name="type_encode" value="0">
<input type="submit" value="Submit">
</form>
user_id | Reseller's reseller_id |
o_time | Order time (the time reseller sumbitted this request) |
success | Result of call to OnlineNIC server, starting with result code, and ending with result message. A "0" indicates success. A non-zero code indicates failure. Most failure repsonses will include a text message explaining the error. |
checksum | MD5 validation code (checksum). Reseller can test returned data with this MD5 checksum to verify its integrity. |
MD5 validation code (checksum) is produced as follows:
checksum = md5(user_id+o_time+success+md5(password))
"Password" refers to the reseller's OnlineNIC passowrd. Other values are identical to those variables submitted by reseller during registration.