SA-MP Forums Archive
PHP Script Help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: PHP Script Help (/showthread.php?tid=611688)



HTML Script Help - Zorono - 09.07.2016

deletetd


Re: PHP Script Help - Luicy. - 09.07.2016

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


Re: PHP Script Help - Zorono - 09.07.2016

deletetd


Re: PHP Script Help - Zorono - 11.07.2016

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


Re: PHP Script Help - Luicy. - 11.07.2016

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"



Re: PHP Script Help - Zorono - 11.07.2016

deletetd


Re: PHP Script Help - Zorono - 11.07.2016

deletetd


Re: PHP Script Help - Luicy. - 11.07.2016

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>


Re: PHP Script Help - Luicy. - 11.07.2016

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


Re: PHP Script Help - Zorono - 11.07.2016

deletetd


Re: PHP Script Help - bgedition - 11.07.2016

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!


Re: PHP Script Help - Zorono - 11.07.2016

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


Re: PHP Script Help - Luicy. - 11.07.2016

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



Re: PHP Script Help - bgedition - 11.07.2016

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


Re: PHP Script Help - Zorono - 11.07.2016

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

Note: iam testing it on local host


Re: PHP Script Help - Luicy. - 11.07.2016

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.


Re: PHP Script Help - Zorono - 11.07.2016

What you mean With "cache" please ??


Re: PHP Script Help - bgedition - 12.07.2016

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


Re: PHP Script Help - BlackBank - 12.07.2016

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.


Re: PHP Script Help - Zorono - 12.07.2016

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