简体   繁体   中英

How to detect site listing in DMOZ directory from PHP

如何检测PHP的DMOZ目录中是否侦听了特定站点?

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.

我知道这是一个老问题,但对某人可能仍然有用, DMOZ API上有一个api服务,可能有用

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM