Announcement
Collapse
No announcement yet.
Domain Checker
Collapse
X
-
i do what you ur wanting at my own site: http://www.syow.org
set your API into demo mode so you don't purchase anything by accident =)
then use the api to perform the domain checking
set it up so that the results from the api calls are wrapped in links that link to the iframe remote order form - u can pass in values to the remote order form to set hte different fields in the order form
take a look at my site and run some test values and you'll see up the top the different params i pass to the remote order form.
Comment
-
Originally posted by Daniel View PostYeah the API would let you do whatever you want, the downside is all the features you won't have. Fraud potection, payment system from RSP..etc
Originally posted by Daniel View PostPlus it's very difficult to setup.
Comment
-
You can use the api for all the content of your custom site and use the RSP remote forn to allow your customers to purchase hosting plans, this way you get the freedom of your site content and you get the fraud protection from RSP.
Comment
-
3rd party domain php scripts
Is anyone using a 3rd party php scripts for the domain search form. I have been playing around with a few but have not found a good one. I have one that is showing promise but it is limited. I would like to find one that gives you the whois info of a site that is taken plus forward to my iframe order form for available domains. The api is out for me I plan to sell domains and use rsp domains for hosting client signups. Please post your feedback. Thanks AJs
Comment
-
Here is some quick code for the domain name check using the API function. I hope this helps you all out. BTW this code will only work in PHP5 because it is using the function called 'simplexml' in PHP5.
PHP Code:<?php
// second level domain - do not add the tld's ie. '.com'
$sld = 'thedomainname';
// resellers panel setting
$config['rsp']['url'] = 'https://api.resellerspanel.com/index.php';
$config['rsp']['reseller_name'] = ''; // your reseller username
$config['rsp']['p_value'] = ''; // the 'p' value when you log in and go to the api setting
class RSP_CLASS {
// build rsp url
function rsp_url() {
global $config;
$out = $config['rsp']['url'] . '?r=' . $config['rsp']['reseller_name'] . '&p=' .
$config['rsp']['p_value'];
return $out;
}
// check domain name availability
function check_domain($sld) {
$rsp_url = $this->rsp_url();
$out = simplexml_load_file($rsp_url . '&req_type=check_domain&sld=' . $sld .
'&output=xml');
return $out;
}
}
// start the class
$class_rsp = new RSP_CLASS;
// get the domain check information
$data = $class_rsp->check_domain($sld);
// show the information in an array
print ('<pre>');
print_r($data->check_domain);
print ('</pre>');
// break down the array to show more information
foreach ($data->check_domain[0] as $key => $value) {
if ($value == 1) {
echo "Domain Name: " . $key . " is availabe<br>\n";
}
else {
echo "Domain Name: " . $key . " is not availabe<br>\n";
}
}
?>
Comment
-
Originally posted by rcj662 View PostI do not know if they offer org and info domain names. I do not remember any so that might be the problem.
I could be wrong but i do not remember org or info being listed.
Comment
Comment