tubadc Posted June 1, 2007 Share Posted June 1, 2007 Portuguese ---- Solução definitiva para o problema de busca de domínios via WHMCS usando classe oficial de busca de domínio fornecida pela registro.br Baixem o classe isavail-0.2 oficial da Fapesp no link ftp://ftp.registro.br/pub/isavail/ 1 - Abram o arquivo avail_client.php; 2 - Inserir na linha 2 $fqdn=$_GET["domain"]; 3 - va a´te a linha 29 e altere-a para define(COOKIE_FILE, 'isavail-cookie.txt'); 3 - Salve o arquivo 4 - Crie um arquivo texto de nome isavail-cookie.txt com o conteúdo inicial 00000000000000000000 5 - Envie os dois arquivos para o diretorio raiz (http://www.seudominio.com.br) 6 - Libere permissão total para o isavail-cookie.txt (CHMOD 777) 7 - Abra o arquivo do seu whmcs includes/whoisservers.php 8 - Ache a linha que começa com .com.br e altere-a para .com.br|http://www.seudominio.com.br/avail_client.php?domain=|HTTPREQUEST-Available 9 - Salve e substitua o antigo. English ------- Final solution for the problem with %Permission Denied response for domains .com.br search using the official class isavail supplied for registro.br Download the class isavail-0.2 from Fapesp on link ftp://ftp.registro.br/pub/isavail/ 1 -Open the file avail_client.php; 2 - Insert in line 2(two) $fqdn=$_GET["domain"]; 3 -go to the line 29 and change to define(COOKIE_FILE, 'isavail-cookie.txt'); 3 - Save the file 4 - Create a .txt file named isavail-cookie.txt with the content 00000000000000000000 5 - Send the files to the root folder (http://www.yourdomain.com.br) 6 - chage de permissions for isavail-cookie.txt (CHMOD 777) 7 - Openthe file includes/whoisservers.php in whmcs files 8 - Find the line with the begins .com.br and change for .com.br|http://www.seudominio.com.br/avail_client.php?domain=|HTTPREQUEST-Available 9 - Save and overwrite the old one. Regards Danilo 0 Quote Link to comment Share on other sites More sharing options...
Patty Posted June 1, 2007 Share Posted June 1, 2007 Wonderful post, Danilo! Thank you so much for sharing this. One question: on step 2, by line 2 you mean the line right below "<?php" ? An on step 8, that will have to be done for all br extensions as well, right? Thank you for clearing this up. 0 Quote Link to comment Share on other sites More sharing options...
tubadc Posted June 4, 2007 Author Share Posted June 4, 2007 Yes Patty you are right in both questions... Regards Danilo 0 Quote Link to comment Share on other sites More sharing options...
Patty Posted June 4, 2007 Share Posted June 4, 2007 OK. Thank you! 0 Quote Link to comment Share on other sites More sharing options...
eunarede Posted July 17, 2007 Share Posted July 17, 2007 fiz como no tutorial, mas continua com erro 0 Quote Link to comment Share on other sites More sharing options...
d4nk0 Posted August 17, 2007 Share Posted August 17, 2007 tubadc; it was using normally and it stopped to function, what it occurs? Thank You! 0 Quote Link to comment Share on other sites More sharing options...
fabriciow Posted January 23, 2008 Share Posted January 23, 2008 aqui continua com erro tb rsrsrs 0 Quote Link to comment Share on other sites More sharing options...
brasileiro Posted February 20, 2008 Share Posted February 20, 2008 Ola amigo. Estou tendo problemas em executar o script conforme voce explicou. O problema é que não consigo achar o .com.br no arquivo whoisservers.php poís está tudo encriptado. O que preciso fazer? E aproveitando gostaria de saber se você sabe como cadastrar também o restante dos domínios, como .com .net .org, etc..? Obrigado. Aguardo seu retorno. Luiz Henrique 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.