How to detect site listing in DMOZ directory from PHP

1.7k Views Asked by At

How can I detect if particular site is listend in DMOZ directory from PHP ?

2

There are 2 best solutions below

0
On

I know it is old question, but still may be useful to someone, there is a api service at DMOZ API, may be useful

0
On

Well , I don't know if it's legal but since there is no "nice" way to do it you can get the content of the page: http://www.dmoz.org/search?q=www.domain.com and then search for the string "domain.com".

http://php.net/manual/en/function.file-get-contents.php

Another way , you can use curl.