/    Sign up×
Community /Pin to ProfileBookmark

simple way of getting the user info’s

its me again,
I have searched lots of PHP scripts regarding this matter, getting the User Info’s of the user who access the website and displaying it in the page in its preferred location whom im going to set. but the scripts didnt work. and its was hard to understand.
Is there any PHP scripts that can easily understand, a simple way or a simple script that gets User Informations specially there IP address.

Thanks.

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@NogDogApr 21.2005 — [code=php]
<?php
echo "<p>Your IP address is {$_SERVER['REMOTE_ADDR']}.n";
echo "<br>Your host name appears to be '{$_SERVER['REMOTE_HOST']}'</p>n";
?>
[/code]
Copy linkTweet thisAlerts:
@webgovernorApr 21.2005 — Oh, and don't forget:

[code=php]$_server["http_user_agent"];
[/code]

Holds stuff like Browser Engine, OS, etc,

hard to format to display nicely, but it

still contains a lot of usefull info.
×

Success!

Help @ne3ro0 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 5.19,
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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...