0 Replies Latest reply on Dec 1, 2008 4:27 AM by meesonator

    Retrieving Favicons

    meesonator Level 1
      I have a page that is linked to a DB containing url's, I am displaying the links, but i also want to display the favicon of the url under the link i currently do this

      <img src=" http://<?php echo $row_rswebsite['image']; ?>/favicon.ico" alt="icon" width="50" />

      this works for some sites e.g. google, but as some some sites don't have the favicon named as favicon.ico it dose not work for 50% of websites. I found this example example,
      but this is using C++.

      If anyone knows how to achieve the same thing using php then it would be much appreciated