PHP Scripting Forums » General Web Development Forum

php whois with register form

(6 posts)

Tags:

Great offers not only for geeks!
Your Ad Here

  1. Hello,
    First of all, Sorry for scruing up your download whois post.
    Now, if the domain name is available, I want to add a register link to a register form but i want to include the available domain in the form, any suggestions on how can do this?

    thank you,

    Alex

    Posted 10 months ago #
  2. Hi Alex,

    do you tried the redirect examples?

    try this schema:
    if domain free -> register / order

    else do something else

    look a complete domain registration application is a complex thing and can't be explained so easy. Do you have already some code?

    sure you can redirect to some form and post this data to your mail or database but what's next?

    Posted 10 months ago #
  3. Hi Olaf, i open a reseller account at resellerclub.com, so i can register the domain names, but like you say, is a complex thing, i want to make easy to my clients, so,

    if domain free -> link "register" -> simple form order to email -> i register the domain name.

    what do you think?

    Alex

    Posted 10 months ago #
  4. Hi Alex,
    I think you should use the API from resellerclub, otherwise I'm afraid that your conversions are very low. Just ask yourself why people should register a domain name with you if this takes so much time. If people register with godaddy they have this domain online within minutes.

    Posted 10 months ago #
  5. Hi Olaf,

    I have a domain name project for Costa Rica, most people there don't speak English, don't have credit cards and they need help support in Spanish. My idea is to add a simple domain whois in my website, so then if the domain name is available i need to add a link "register" and when the user clicks it will be send to a simple and short register form that will be send to my e-mail, then i will go to my resellerclub account and register to buy the domain name for my client.

    What i don't know how to do is export the available domain name to the simple and short register form, in a way that the user doesn't have to type it again.

    can you please help me find a way how to do this.

    Thank you

    Alex

    Posted 10 months ago #
  6. the same as above:

    (file whois_redirect_example.php)

    if (isset($_POST['submit'])) {
    	$my_whois->tld = $_POST['tld'];
    	$my_whois->domain = $_POST['domain'];
    	$my_whois->free_string = $servers[$_POST['tld']]['free'];
    	$my_whois->whois_server = $servers[$_POST['tld']]['address'];
    	$my_whois->whois_param = $servers[$_POST['tld']]['param'];
    	if ($my_whois->process()) {
    		header ("mailscript.php");
    	}
    }

    and use this code in your mail script:
    http://www.finalwebsites.com/snippets.php?id=3

    Note this is just an example, there is no validation and you need to build some application around.

    Posted 10 months ago #

RSS feed for this topic

Reply

You must log in to post.