pgge3 Posted January 12, 2008 Share Posted January 12, 2008 Hello, Does anybody know which is the WHOIS Database Server of the .gr Sites because in the includes/whoisservers.php doesn't have it. 0 Quote Link to comment Share on other sites More sharing options...
ur Posted January 12, 2008 Share Posted January 12, 2008 You could parse the form at: https://grweb.ics.forth.gr/whois_el.jsp There are no public whois servers for .gr that I know of. However, you can contact them to find out for sure. That said, "-h www.gr" and "-h forth.gr" respond to connections but return no data. 0 Quote Link to comment Share on other sites More sharing options...
pgge3 Posted January 12, 2008 Author Share Posted January 12, 2008 Thank you for your answer although I have already tried this link. I search in Google for any possible whois Server for .gr Database but the National Regulatory Authority of Greece that is responsible for the .gr domains says that you have to be a valid registrar in order to have access in the WHOIS Database Thats why all the whois Databases I have search doesn't support .gr whois searches and if they support it they display always errors .example http://www.whois.net supports .gr extensions but when you do a search it come up only with errors. Anyway thanks again for your answer. The only solution to this is to be a registrar to have access to the database. 0 Quote Link to comment Share on other sites More sharing options...
nikos Posted January 15, 2008 Share Posted January 15, 2008 an alternative, is to co operate with an already registrat. Some of them, like papaki give you reseller priviledges and also the appropriate code for having whois database search to your own site. 0 Quote Link to comment Share on other sites More sharing options...
Yngwiedis Posted January 19, 2008 Share Posted January 19, 2008 Hello... I want to ask something. I have the code from papaki like Nikos above said. Is there anyone that can integrate it inside WHMCS ? Because its a little difficult for me 0 Quote Link to comment Share on other sites More sharing options...
Yngwiedis Posted January 20, 2008 Share Posted January 20, 2008 Is there anyone who can help ? 0 Quote Link to comment Share on other sites More sharing options...
pgge3 Posted January 21, 2008 Author Share Posted January 21, 2008 I suppose that papaki.gr had gave on you the whois Database of the .gr domains. Something like whois.server.gr . You should open the file whoisservers.php located in includes folder and add the following in the extensions ".gr|whois.server.gr|220 Available" or Not Match without the "". After that upload the file as Binarry in your Site. 0 Quote Link to comment Share on other sites More sharing options...
Yngwiedis Posted January 21, 2008 Share Posted January 21, 2008 Hello... Papaki gave me a .zip with a lot of files. I cant find any file with the code you said. Is there anyway to add them to the Domain Registrars settings inside WHMCS ? 0 Quote Link to comment Share on other sites More sharing options...
pgge3 Posted January 21, 2008 Author Share Posted January 21, 2008 Please PM me to give you more info. 0 Quote Link to comment Share on other sites More sharing options...
Yngwiedis Posted February 9, 2008 Share Posted February 9, 2008 Someone that can implement this, inside WHMCS ? 0 Quote Link to comment Share on other sites More sharing options...
Giannis Posted May 27, 2008 Share Posted May 27, 2008 Papaki api can not be implemented into whmcs. It is something totaly different. 0 Quote Link to comment Share on other sites More sharing options...
Yngwiedis Posted May 27, 2008 Share Posted May 27, 2008 So there is no way to put a .gr availability checking in WHMCS ? 0 Quote Link to comment Share on other sites More sharing options...
Giannis Posted May 27, 2008 Share Posted May 27, 2008 of course there is, also registrar module is available for automatic registrations. 0 Quote Link to comment Share on other sites More sharing options...
zam Posted January 6, 2009 Share Posted January 6, 2009 So there is no way to put a .gr availability checking in WHMCS ? Did you find a solution? I just wrote a simple program that acts like a whois server and can be intergrated to WHMCS... If you want it i can post it... 0 Quote Link to comment Share on other sites More sharing options...
netmosaic Posted March 13, 2009 Share Posted March 13, 2009 zam could you please post your solution for the rest of us? Thanks so much 0 Quote Link to comment Share on other sites More sharing options...
zam Posted March 13, 2009 Share Posted March 13, 2009 Hi again. The idea is to as you where a browser, get the results, find a string, css or something in the view source that can tell you when its free or not free and send back to whmcs the string that needs. My registrar when a domain is not available has a class ( <b class="error"> ) in its page named error (doesn't exist when a domain is free).If you want to use another registrar you have to change some of the vars in the script. open includes/whoisservers.php and add at the first line : .gr|http://www.yourdomain.gr/where_wcmc_is/domain- check.php?sdomain=|HTTPREQUEST-NO MATCH This tells that wcmcs will use your php for gr checks. upload to your whmcs folder (http://www.yourdomain.gr/where_wcmc_is/) the file domain- check.php that contains : <?php $arr=explode(".",$sdomain); $domain=$arr[0]; $ext=".".$arr[1]; $webfile="http://www.ip.gr/el/main/whois.php"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,$webfile); curl_setopt($ch, CURLOPT_FAILONERROR, 1); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS,"domain=$domain&ext=$ext"); $result = curl_exec($ch); curl_close($ch); if (strstr($result,"<b class=\"error\">")) { echo "Domain Taken"; } else { echo "NO MATCH"; } ?> The script posts to the registrar form your data and checks for a match and returns it to whmcs.The problem is that if the registrar changes the page layout the script will not work. But at the end we are the only country without an open whois server. Anything that works is welcome 0 Quote Link to comment Share on other sites More sharing options...
weby Posted May 7, 2009 Share Posted May 7, 2009 Have you tested with whmcs and it works? Lazaros G. 0 Quote Link to comment Share on other sites More sharing options...
petros82 Posted June 2, 2009 Share Posted June 2, 2009 zam could you please post your solution for the rest of us? Thanks so much If you buy 200 credits from papaki.gr it gives you the whmcs module ready checkit out www.realhosting.gr/billing 0 Quote Link to comment Share on other sites More sharing options...
weby Posted June 2, 2009 Share Posted June 2, 2009 As was already explained that is a module for being a reseller. Not suitable for .gr registrars 0 Quote Link to comment Share on other sites More sharing options...
MaRiOsGR Posted July 1, 2009 Share Posted July 1, 2009 hello, I did follow your instructions, and the result is that every .gr domain I look for is available.. Hi again. The idea is to as you where a browser, get the results, find a string, css or something in the view source that can tell you when its free or not free and send back to whmcs the string that needs. My registrar when a domain is not available has a class ( <b class="error"> ) in its page named error (doesn't exist when a domain is free).If you want to use another registrar you have to change some of the vars in the script. open includes/whoisservers.php and add at the first line : .gr|http://www.yourdomain.gr/where_wcmc_is/domain- check.php?sdomain=|HTTPREQUEST-NO MATCH This tells that wcmcs will use your php for gr checks. upload to your whmcs folder (http://www.yourdomain.gr/where_wcmc_is/) the file domain- check.php that contains : <?php $arr=explode(".",$sdomain); $domain=$arr[0]; $ext=".".$arr[1]; $webfile="http://www.ip.gr/el/main/whois.php"; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,$webfile); curl_setopt($ch, CURLOPT_FAILONERROR, 1); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER,1); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS,"domain=$domain&ext=$ext"); $result = curl_exec($ch); curl_close($ch); if (strstr($result,"<b class=\"error\">")) { echo "Domain Taken"; } else { echo "NO MATCH"; } ?> The script posts to the registrar form your data and checks for a match and returns it to whmcs.The problem is that if the registrar changes the page layout the script will not work. But at the end we are the only country without an open whois server. Anything that works is welcome 0 Quote Link to comment Share on other sites More sharing options...
zam Posted July 1, 2009 Share Posted July 1, 2009 hello, I did follow your instructions, and the result is that every .gr domain I look for is available.. I see that there are spaces in url. So be sure that the : .gr|http://www.yourdomain.gr/where_wcmc_is/domain-check.php?sdomain=|HTTPREQUEST-NO MATCH is one line without spaces. If you wish, send me in priv your script url to make a query... 0 Quote Link to comment Share on other sites More sharing options...
zam Posted July 21, 2009 Share Posted July 21, 2009 Ip.gr now offers a script for free, you can use it.. I didnt read the code but i believe that you can modify it as explained in my previous post to integrate it to whmcs. I still use my own script as i dont have the time to change it.. http://www.ip.gr/el/webmaster/whoisscript.php 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.