I need a script where like x10 it can check subdomains. I want the script so I can add my own subdomains and they check if its available or not similar to the x10 one.
Paying 200-500 points.

I need a script where like x10 it can check subdomains. I want the script so I can add my own subdomains and they check if its available or not similar to the x10 one.
Paying 200-500 points.
What do you mean?
Is it like a script to work out whether a domain points to an x10 site or not?
Or a script to work out what server an x10 site is on?
I think he wants it to check to see if the sub-domain is already in use on his website/server/whatever, like the one that x10 has on their website. Please, correct me if I'm wrong.
:happysad:;):cool::nuts::rant2::drool::eek4::dunno::thefinger
:laugh::hahano::lockd::naughty:
^You are correct.
He wants something relevant to the login/registration page where you have to choose the subdomain you want, and If it's available.
I'll see if my forum script has one, because it does check for existing ones.

You see the x10 main page there is a drop down that checks if the subdomain is currently avaliable I would like a script that checks if *.habboard.com is avaliable like a sub-domain avalibility.
Oh, right!
As I promised, here it is:
PHP Code:<?php
// Name this script dns.php
/* Requires the NET PEAR package, install it in your cpanel */
include("Net/DNS.php");
$ndr = new Net_DNS_Resolver();
$ip = $ndr->search("$_GET['sd']", "A");
if ($ip) {
echo("Exists")
}
else {
echo("Domain is available")
}
?>Have the PHP and HTML in seperate files.HTML Code:<form method="GET" action="dns.php"> Enter a subdomain to test: <input name="sd" type="text"> </form>
Last edited by Fahad; 02-20-2008 at 03:32 AM. Reason: Forgot closing brace

I'll give you credits if you could make me the script so I can add my own domains etc.. put all the files in a RAR or ZIP and if it works the points are yours.
OK, I'll see what I can do!
EDIT: Done - see attached!
Change the domains in the <select></select> tags in the form.html file.
You will need the NET pear package, install this in your cPanel.
EDIT: Attachment removed
Last edited by Fahad; 02-22-2008 at 02:13 AM.

Can you please remove it now so nobody but me will get this package.
Edit:
Also how would I get pear. Next time email me the packages. spammeasmuchasyouwant (AT) gmail.com
Last edited by Derek; 02-21-2008 at 04:24 PM. Reason: Automerged Doublepost

How would I get the pear thing..
Last edited by Derek; 02-23-2008 at 11:44 AM.