+ Reply to Thread
Results 1 to 5 of 5

Thread: html a code of the form of check of the domain

  1. Join Date
    Oct 2005
    Posts
    2

    html a code of the form of check of the domain

    I want to insert the form of check of the domain on the main page.

    Help me to write, please, html a code of the form for data transmission to a script /whois/whois.php

    And how to specify the coding of page (charset=windows-1251)?

  2. Join Date
    Aug 2004
    Posts
    781

    html a code of the form of check of the domain

    My best suggestion would be to copy the html of the form from whois.php into your page and work off of that.

  3. Join Date
    Oct 2005
    Posts
    2

    html a code of the form of check of the domain

    How to specify the coding of page (charset=windows-1251)?

  4. Join Date
    Nov 2005
    Posts
    3

    html a code of the form of check of the domain

    In case someone else needs this.
    This is the html code to include on first/other pages.
    Note that I have removed the div and table tags to fit my site. You can put them back if you want.

    Code:
    <form name='whois_search' method='POST' action='whois/whois.php'>
    <input type='hidden' name='page' value='WhoisSearch'>
    <input name='domain' type='text' value='введите домен' size="17" maxlength="63">
    <select name="ext0">
    <option value="ru" selected>.ru</option>
    <option value="com">.com</option>
    <option value="net">.net</option>
    <option value="org">.org</option>
    <option value="us">.us</option>
    <option value="biz">.biz</option>
    <option value="info">.info</option>
    <option value="tv">.tv</option>
    <option value="ws">.ws</option>
    <option value="cc">.cc</option>
    <option value="name">.name</option>
    <option value="in">.in</option>
    <option value="cn">.cn</option>
    <option value="be">.be</option>
    <option value="it">.it</option>
    <option value="net.ru">.net.ru</option>
    <option value="org.ru">.org.ru</option>
    <option value="pp.ru">.pp.ru</option>
    <option value="msk.ru">.msk.ru</option>
    <option value="spb.ru">.spb.ru</option>
    <option value="su">.su</option>
    <option value="ру">.ру</option>
    <option value="ком">.ком</option>
    <option value="нет">.нет</option>
    <option value="орг">.орг</option>
    </select>
    <input type='submit' id='Submit' value='проверить'> 
    </form>
    You have to check that the option values are in the config file.
    You can change the option values to your need.

    To enable russian language domains (rlidns), modify line 88 in classes/domains.php to

    Code:
    // check format
    if (!ereg("^[a-zA-Zа-яА-Я0-9]+[a-zA-Zа-яА-Я0-9-]*[a-zA-Zа-яА-Я0-9]+$", $domain))
    Works fine with russian language in form and checks availability of russian language international domain names.

    Enjoy!

  5. Join Date
    Aug 2004
    Posts
    781

    html a code of the form of check of the domain

    In case someone else needs this.
    This is the html code to include on first/other pages.
    Note that I have removed the div and table tags to fit my site. You can put them back if you want.

    Code:
    <form name='whois_search' method='POST' action='whois/whois.php'>
    <input type='hidden' name='page' value='WhoisSearch'>
    <input name='domain' type='text' value='введите домен' size="17" maxlength="63">
    <select name="ext0">
    <option value="ru" selected>.ru</option>
    <option value="com">.com</option>
    <option value="net">.net</option>
    <option value="org">.org</option>
    <option value="us">.us</option>
    <option value="biz">.biz</option>
    <option value="info">.info</option>
    <option value="tv">.tv</option>
    <option value="ws">.ws</option>
    <option value="cc">.cc</option>
    <option value="name">.name</option>
    <option value="in">.in</option>
    <option value="cn">.cn</option>
    <option value="be">.be</option>
    <option value="it">.it</option>
    <option value="net.ru">.net.ru</option>
    <option value="org.ru">.org.ru</option>
    <option value="pp.ru">.pp.ru</option>
    <option value="msk.ru">.msk.ru</option>
    <option value="spb.ru">.spb.ru</option>
    <option value="su">.su</option>
    <option value="ру">.ру</option>
    <option value="ком">.ком</option>
    <option value="нет">.нет</option>
    <option value="орг">.орг</option>
    </select>
    <input type='submit' id='Submit' value='проверить'> 
    </form>
    You have to check that the option values are in the config file.
    You can change the option values to your need.

    To enable russian language domains (rlidns), modify line 88 in classes/domains.php to

    Code:
    // check format
    if (!ereg("^[a-zA-Zа-яА-Я0-9]+[a-zA-Zа-яА-Я0-9-]*[a-zA-Zа-яА-Я0-9]+$", $domain))
    Works fine with russian language in form and checks availability of russian language international domain names.

    Enjoy!
    Yeah, I need to implement new rules badly. However, originally I didn't realize that so many people would use the script (although there are very few alternatives out there ~ and those that exist usually are "Lite" versions of good software). It really took off once I implemented control panel (guess people do not like editing massive config files ).

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts