Results 1 to 7 of 7

Thread: Get Client Info

  1. #1

    Thread Starter
    Lively Member CORONA BEER's Avatar
    Join Date
    May 2004
    Location
    THE INTERNETS!
    Posts
    82

    Question Get Client Info

    How do i get info besides the ip address, i can already get that,
    cant you get the isp and the browser type? im just now getting to learn php

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    You can't get the ISP, but you can get the browser type. I think it's in $_SERVER['USER_AGENT'] or something like that. That's the UA identification string. Note that most browsers allow the client to set this to whatever they want, so it's unreliable.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3

    Thread Starter
    Lively Member CORONA BEER's Avatar
    Join Date
    May 2004
    Location
    THE INTERNETS!
    Posts
    82

    Lightbulb

    check out this sig i think its written in php, just this much info would be cool

  4. #4
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906
    That signature uses the HTTP_USER_AGENT string your browser sends.

    It will typically look like this:
    Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040210 Firefox/0.8

    Well thats my user agent string generated by Firefox.

    Windows NT 5.0 = Windows 2000 and the rest speaks for its self.
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  5. #5

    Thread Starter
    Lively Member CORONA BEER's Avatar
    Join Date
    May 2004
    Location
    THE INTERNETS!
    Posts
    82
    If a browser hits a php script can it echo the last website you visited?

  6. #6
    <?="Moderator"?> john tindell's Avatar
    Join Date
    Jan 2002
    Location
    Brighton, UK
    Posts
    1,099
    Take a look at the it has all the server variable that you can use in php. That should be enough for you to gather all the information you need about the person viewing the page.

    http://www.php.net/manual/en/reserve...riables.server

  7. #7

    Thread Starter
    Lively Member CORONA BEER's Avatar
    Join Date
    May 2004
    Location
    THE INTERNETS!
    Posts
    82

    Wink

    Thanks for the link

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width