JavaScript & PHP‎ > ‎

All About You

About

A small script that uses a combination of JavaScript and PHP to display a variety of information about the viewer.

No details are stored and all details are determined from information the browser normally sends

As of version Echo it can now show if CSS is enabled, and not just if it is disabled. Please note that this "enabled" message does not work in Internet Explorer (this was several years ago; that was true of IE6, but I can't comment on IE7 onwards).

Example

NOTE: The example is non-functional; once I spend more time with Google Sites I'll hopefully get all the JavaScript working. At the moment my primary goal is availability of the scripts. The example is, however, representative of the appearance of the proper script.

  • You have CSS enabled.
  • You have JavaScript enabled.
  • The time on your computer is 12:34:56 and the date is 31 December 2012.
  • Your screen resolution is set to 1920x1200.
  • You are using Windows.
  • You are using Firefox.
  • You are using a browser based on the Gecko layout engine.
  • You came from http://www.6times9.com/javascript/6x9time/index.php.
  • Your IP address is 123.456.78.90.
  • The GET method and /javascript/aboutyou/ were used to access this page

Using

To add the block to a page, simply add

    <?php include 'aboutyou.php'; ?>

wherever you want the block to appear, remembering - of course - to change the path to wherever you save the file on your server

NOTE: Since this uses PHP your server must support PHP to use it...

Important: As of version Echo the following CSS is required on any page using All About You:

    #cssstatus {display: none;}
    #aboutyou > #cssstatus {display: list-item;}
    #cssword:after {content:" enabled";}

Feedback

I'd like to hear what you have to say about this or any other project on the site.

If you have any comments, compliments, or suggestions feel free to get in touch and let me know.

Download

Download the latest version using the link below.

Note that the first version uploaded here was last updated 2007-06-16. The date of any subsequent changes will be accurately reflected in the date shown in the table.

SelectionFile type iconFile nameDescriptionSizeRevisionTimeUser
ċ

Download
A small script that uses a combination of JavaScript and PHP to display a variety of information about the viewer.  7k v. 4 23 Mar 2013, 21:39 Richard Winskill
Comments