Hello.
Interested in the question, how can I determine the date of registration of the domain?
Developments:
$url ='google.ru'; $content = file_get_contents('http://www.reg.ru/whois/?dname='.$url); preg_match('/<td style="width: 170px;">.*<td style="width: 170px;">.*<td style="width: 170px;">.*<td style="width: 170px;">.*<td style="width: 170px;">.*<td style="width: 170px;">.*<td style="width: 170px;">.*<td style="width: 170px;">.*<td>(.*)<|Creation Date:(.*)\n|Domain Create Date:(.*) UTC/Uis', $content, $date)); ...
Those. if the zone is a .ru domain, then the registrar issues one content (for example, it’s next to the registration date that it says “Registration Date:”), if in .com, then another (note: “Created on ....... ......:"), if in . com.ua , then there is also another (note: "created:"). In general, it turns out that the zones differ all the time, and this also happens ( http://www.reg.ru/whois/?dname=yandex.com ) - i.e. Fuck knows when registered domain.
Please help!