Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 User agent list

views
     
TSmyomega
post Apr 22 2014, 03:04 PM, updated 10y ago

Getting Started
**
Junior Member
171 posts

Joined: Nov 2010
I need to import all the user agent list into my database, may I know where can download all user agent list? As I see there is few webpages are providing user agent information but they are not able to store all user agent into my database.
malleus
post Apr 22 2014, 03:05 PM

Look at all my stars!!
*******
Senior Member
2,096 posts

Joined: Dec 2011
first you need to describe what is a user agent list
TSmyomega
post Apr 22 2014, 03:40 PM

Getting Started
**
Junior Member
171 posts

Joined: Nov 2010
QUOTE(malleus @ Apr 22 2014, 03:05 PM)
first you need to describe what is a user agent list
*
Just get normal information like, browser, os version, phone type and etc
bumpo
post Apr 22 2014, 04:45 PM

On my way
****
Junior Member
632 posts

Joined: Mar 2013


why cant it be stored into your db? hmm.gif

This post has been edited by bumpo: Apr 22 2014, 04:45 PM
singeryoon
post Apr 22 2014, 04:47 PM

Getting Started
**
Junior Member
254 posts

Joined: Mar 2010
directly get the info from their API, for example
http://www.useragentstring.com/pages/api.php
just parse the JSON and then use backend scripting to save the data into db.
sunsuron
post Apr 22 2014, 04:54 PM

Regular
******
Senior Member
1,334 posts

Joined: Nov 2004



You might also want to take a look at http://browscap.org/
TSmyomega
post Apr 22 2014, 05:50 PM

Getting Started
**
Junior Member
171 posts

Joined: Nov 2010
QUOTE(sunsuron @ Apr 22 2014, 04:54 PM)
You might also want to take a look at http://browscap.org/
*
This is good but it doesn't have the device model. ohmy.gif
alien3d
post Apr 22 2014, 07:59 PM

Look at all my stars!!
*******
Senior Member
3,740 posts

Joined: Mar 2009
QUOTE(myomega @ Apr 22 2014, 03:04 PM)
I need to import all the user agent list into my database, may I know where can download all user agent list? As I see there is few webpages are providing user agent information but they are not able to store all user agent into my database.
*
i used maxmind. got open source and update.. seem good in my system .
TSmyomega
post Apr 22 2014, 09:02 PM

Getting Started
**
Junior Member
171 posts

Joined: Nov 2010
QUOTE(alien3d @ Apr 22 2014, 07:59 PM)
i used maxmind. got open source and update.. seem good in my system .
*
Can you provide the URL coz I can see any user agent script/API at their website.
alien3d
post Apr 22 2014, 10:25 PM

Look at all my stars!!
*******
Senior Member
3,740 posts

Joined: Mar 2009
QUOTE(myomega @ Apr 22 2014, 09:02 PM)
Can you provide the URL coz I can see any user agent script/API at their website.
*
Dont be lazy lol.search maxmind geo ip im writing phone lol.if you can see why need i show?
TSmyomega
post Apr 23 2014, 03:15 PM

Getting Started
**
Junior Member
171 posts

Joined: Nov 2010
QUOTE(alien3d @ Apr 22 2014, 10:25 PM)
Dont be lazy lol.search maxmind geo ip im writing phone lol.if you can see why need i show?
*
I think we need to pay only can use the user agent service. Coz the free service only for IP location checking.
alien3d
post Apr 23 2014, 03:50 PM

Look at all my stars!!
*******
Senior Member
3,740 posts

Joined: Mar 2009
QUOTE(myomega @ Apr 23 2014, 03:15 PM)
I think we need to pay only can use the user agent service. Coz the free service only for IP location checking.
*
.. because you think,programmer find la.. so lazy mah doh.gif
http://dev.maxmind.com/geoip/geoip2/downlo...e/#MaxMind_APIs
Read and download. i have said i used it lol rclxub.gif rclxub.gif rclxub.gif rclxub.gif
TSmyomega
post Apr 23 2014, 04:40 PM

Getting Started
**
Junior Member
171 posts

Joined: Nov 2010
QUOTE(alien3d @ Apr 23 2014, 03:50 PM)
.. because you think,programmer find la.. so lazy mah doh.gif
http://dev.maxmind.com/geoip/geoip2/downlo...e/#MaxMind_APIs
Read and download. i have said i used it lol rclxub.gif  rclxub.gif  rclxub.gif  rclxub.gif
*
I try with this demo http://www.maxmind.com/en/geoip_demo like what you provide. Seem it only provide your IP information like location, country, ISP and etc.

What I need is something like this

CODE
Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36


system will find the user agent string to define what browser, system, software version and etc you use.

This is one of the example http://www.useragentstring.com/index.php but I need all the data in my database no parse from web.
alien3d
post Apr 23 2014, 04:51 PM

Look at all my stars!!
*******
Senior Member
3,740 posts

Joined: Mar 2009
QUOTE(myomega @ Apr 23 2014, 04:40 PM)
I try with this demo http://www.maxmind.com/en/geoip_demo like what you provide. Seem it only provide your IP information like location, country, ISP and etc.

What I need is something like this

CODE
Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.116 Safari/537.36


system will find the user agent string to define what browser, system, software version and etc you use.

This is one of the example http://www.useragentstring.com/index.php but I need all the data in my database no parse from web.
*
I used maxmind and uas parser
http://user-agent-string.info/download/UASparser-for-PHP


CODE

 /**
    * Internet Protocol Information
    * @return mixed $browserInformation
    */
   public function getInternetProtocolInformation() {
       $gi = geoip_open($this->getFakeDocumentRoot() . "library/geo/GeoLiteCity.dat", GEOIP_STANDARD);
       //preventing up looping on local testing
       if ($this->getInternetProtocolAddress() != '::1' && $this->getInternetProtocolAddress() != '127.0.0.1') {
           $record = geoip_record_by_addr($gi, $this->getInternetProtocolAddress());
       }
       return $record;
   }
 /**
    * Browser Information
    * @return mixed $browserInformation
    */
   public function getBrowserInformation() {
       $parser = new \UASparser();
       $parser->SetCacheDir($this->getFakeDocumentRoot() . "library/uas/cache/");
       return $parser->Parse();
   }
$record = $this->getInternetProtocolInformation();
$ret = $this->getBrowserInformation();

This only part sample i can give to you .. .. keep finding lol.

 

Change to:
| Lo-Fi Version
0.0143sec    0.32    5 queries    GZIP Disabled
Time is now: 29th March 2024 - 12:35 AM