Jump to content

Greek Extensions


pgge3

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 3 weeks later...
  • 3 months later...
  • 7 months later...
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...

Link to comment
Share on other sites

  • 2 months later...

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 :)

Link to comment
Share on other sites

  • 1 month later...
  • 4 weeks later...
  • 5 weeks later...

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 :)

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated