/    Sign up×
Community /Pin to ProfileBookmark

show connection stats

Hi,

anyone knows if its possible to show some stats of the client (connection, own ip, dloaded bytes, uploaded bytes?)

I would like to give the user some information like this while hes surfing specific sites…

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@AdamGundryJun 10.2004 — You can get some of the information on the server-side (specifically the client IP address) but not through client-side JavaScript.

Adam
Copy linkTweet thisAlerts:
@clemensauthorJun 11.2004 — Okay,

then is there a way to get some information about the server-client-connection and return it via php or something else as string to show up on the client side?
Copy linkTweet thisAlerts:
@AdamGundryJun 12.2004 — You can find out how to show the user's IP address (in 3 languages - PHP, ASP and SSI) on [url=http://webdevfaqs.com/php.php#getip]WebDevFaqs[/url].

Adam
×

Success!

Help @clemens spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...