PHP Script Help
#1

deletetd
Reply
#2

PHP код:
<a href="http://********.com/groups/maro.samp/" target="_blank">
<
img src="'.$settings['images_url'].'/********.png" alt="********">
</
a
No need for </img>
Reply
#3

deletetd
Reply
#4

please do anyone know how to change my site favction using HTML please ??
Reply
#5

If you have got a png icon:
PHP код:
<link rel="icon" type="image/png" href="someimage.png"
or if you have .ico
PHP код:
<link rel="icon" type="image/x-icon" href="someicon.ico"
Reply
#6

deletetd
Reply
#7

deletetd
Reply
#8

While on the site, press F12 and look at the errors or warnings, screenshot them or type them down here.

If there's none, Where did you place the tag?
Make sure it is at
<head>

</head>
Reply
#9

Edit:
Nevermind my post, you used src="", it's href="".
Reply
#10

deletetd
Reply
#11

This will work(you must put it into the <head> tags):

Код HTML:
<link rel="shortcut icon" href="http://br-gaming.cf/images/fav.png">
Off topic: these codes are not PHP related, they are pure HTML!
Reply
#12

Still not working i already putted it into my <head>
Reply
#13

PHP код:
<link rel="icon" href="http://br-gaming.cf/images/fav.pngf" type="image/png" sizes="398x367"
Reply
#14

The way I showed you is working for me. Take a look: http://prntscr.com/brorug
Reply
#15

i tried all but nothing worked
thanks so much guys for your more helps

Note: iam testing it on local host
Reply
#16

Quote:
Originally Posted by Zorono
Посмотреть сообщение
i tried all but nothing worked
thanks so much guys for your more helps

Note: iam testing it on local host
Remember to also clear your cache.
Reply
#17

What you mean With "cache" please ??
Reply
#18

Clear all of your browser's history(the cookies)! I used F12 and inserted the snipped I showed you and it worked fine.
Reply
#19

What if you use this line of code in your <head>?
PHP код:
<link rel="shortcut icon" type="image/png" href="/images/fav.png"/> 
Also, don't forget to clear your browser cache, else you will see the old favicon (On Chrome you can use CTRL + SHIFT + DELETE).

EDIT: About the cache thing, cache are just files saved on your pc, so they don't have to be downloaded again each time you visit the website.
Reply
#20

Thanks Guys so much All Your helps solved my proplem and its working 100% me
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)