Jump to content
xisto Community
Sign in to follow this  
iGuest

favicon help is needed

Recommended Posts

hi guysi have 2 problems.1) how can i disable the full adrees of files on the address bar ?2) i can't see my favicon i placed the following lines after the <?phpin my index.phpecho " <head>n";echo " <title>dbcomp</title>n";echo " <link rel="shortcut icon" href="http://forums.xisto.com/no_longer_exists/" type="image/x-icon" />n";echo " </head>n";but still can't see the faviconthe icon is in the same directory as the index.phpcan someone help ?thanks

Share this post


Link to post
Share on other sites

1.

Create an image 16X16 pixels in size. Yes, it is really small and you can't really draw much in it. You should also restrict yourself to the standard Windows 16 colours, although I suspect that 256 colours will work fine.

If you like, you can also create a 32X32 pixel icon, which will be scaled to size for the Favorites menu and the location bar. You can even put both 16X16 and 32X32 pixel icons into the same icon file. Windows will use the former for its menus and the latter when the user opens up a folder that is set to display large icons. It's probably not really necessary to do this if you can't be bothered.
2.

Save the image as an ICO file (named "favicon.ico", of course).
3.

Upload it to your website. You don't need to upload one to every directory of your site if you don't want to waste space - simply put it in your root directory and IE will apparently locate it eventually. You can also upload it into your images directory, but you will need to modify your web pages if you do. See later in this article for more information on this.

<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />

Share this post


Link to post
Share on other sites

whizz what's up.it still doesn't workif i put the line you wrote after the "<?php in my index, i get the following Parse error: parse error, unexpected '<' in /home/parpar26/public_html/phpnuke/index.php on line 2but, if i put it before the <?php nothing happens.:roll: p.s i have created the 16x16 icon and placed it in the root

Share this post


Link to post
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
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.