Jump to content

Displaying links to others websites as their favicon/icon


minty
 Share

Recommended Posts

I post this question here as i think php is the way this would work? I could be completely wrong, sorry if that is the case. Im not after the exact script or anything (yet :P) If i want my website to link to others such as Google/twitter/facebook can i make it so my website uses there favicon in 64x64 if they have it. And just a gereral logo if not. just to clarify i dont want to link to any of my profiles, just to the websites homepage. hmm, hope this makes sense. I may be over complicating things. Help is very much appreciated, complete novice here.

Link to comment
Share on other sites

You can use something like cURL or even just fopen or file_get_contents to get the favicon file. PHP can convert the ico file to another format to display on your page. You can make the image larger but it's not going to be very good quality if it starts small.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...