Я хочу получить, запросил веб-сайт favicon с PHP. Мне рекомендовали использовать сервис favicon Google, но он не работает. Я хочу сделать что-то самостоятельно, но не знаю, как использовать регулярное выражение.
Я нашел класс в Google, который работает в большинстве случаев, но имеет неприемлемую частоту ошибок. Вы можете посмотреть здесь: http://www.controlstyle.com/articles/programming/text/php-favicon/
Может кто-нибудь, пожалуйста, помогите мне в получении значка с помощью регулярного выражения, пожалуйста?