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)?
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)?
My best suggestion would be to copy the html of the form from whois.php into your page and work off of that.
How to specify the coding of page (charset=windows-1251)?
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.
You have to check that the option values are in the config file.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 can change the option values to your need.
To enable russian language domains (rlidns), modify line 88 in classes/domains.php to
Works fine with russian language in form and checks availability of russian language international domain names.Code:// check format if (!ereg("^[a-zA-Zа-яА-Я0-9]+[a-zA-Zа-яА-Я0-9-]*[a-zA-Zа-яА-Я0-9]+$", $domain))
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 filesIn 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.
You have to check that the option values are in the config file.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 can change the option values to your need.
To enable russian language domains (rlidns), modify line 88 in classes/domains.php to
Works fine with russian language in form and checks availability of russian language international domain names.Code:// check format if (!ereg("^[a-zA-Zа-яА-Я0-9]+[a-zA-Zа-яА-Я0-9-]*[a-zA-Zа-яА-Я0-9]+$", $domain))
Enjoy!).