grab favicon from websites on failure use a local one.
I want php code for grabbing favicons from different websites and resizing it and saving it in a directory. The code should first check if the favicon exists for a domain already and if it doesnt then it should grab it and save it and then display it, else display it straight away.

Thanking in advance.
grab favicon from websites on failure use a local one.
===

I want php code for grabbing favicons from different websites and resizing it and saving it in a directory. The code should first check if the favicon exists for a domain already and if it doesnt then it should grab it and save it and then display it, else display it straight away.

Thanking in advance.