Unstoppable Domains โ€” AI Assistant

Anyone can help please??

NamecheapNamecheap
Watch

vidan

Established Member
Impact
0
Hello everyone.. based on this script

<?php

$url = "http://reports.internic.net/cgi/whois?whois_nic=" . $_GET['domain'] . "&type=domain";

$result = file_get_contents($url);

while(eregi("Domain Name:", $result))
{
$result = file_get_contents($url);
}

if(eregi("No match for domain", $result))
{
$url = "http://www.yourdomain.com/bla.php?domain=" . $_GET['domain'];
file_get_contents($url);
}

?>

this script check if domain available then grab using bla.php by file_get_contents($url)
how to change to not grab bla.php instead open another url using Curl. anyone understand this? thanks
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Vidan,

This will not work - "http://reports.internic.net" is cached by at least 30 seconds. So you may find a domain as available, but means it was available for 30 seconds already - at which point someone already took it.

You must be a registrar or know someone to tap into the realtime icann whois (without cached info) ;)

Why don't you look at the Dynadot API Forums for help with the curl you are trying to pass to Dynadot.com?
 
0
•••
Appraise.net
Spaceship
Domain Recover
DomainEasy โ€” Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back