Jump to content

Php Show Browser Information - Versiunea Si Numele


Recommended Posts

Posted

180px-PHP-logo.svg.png

Cu ajutorul micului cod php de mai jos, puteti afisa pe site-ul/pagina dumneavoastra informatile browser-ului (numele si versiunea acestuia) folosit de vizitatori:

<?php echo $_SERVER["HTTP_USER_AGENT"]; ?>

Exemplu:

Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

Succes :pct2:

  • Downvote 1

Te-ai inregistrat? Ne-ar placea sa te prezinti.

Cum pot sustine forumul?
Cumpara de la eMag folosind acest link.
--------------------
oG2BN9d.gifse1WdXd.gifQG6MtmI.gifRHYjDzD.gifG5p1wui.gif

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

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.