Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
kako vidjeti posjetiteljev IP?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side
View previous topic :: View next topic  
Author Message
Pekx



Joined: 09 Sep 2004
Posts: 559

PostPosted: 11.05.2005 18:26    Post subject: kako vidjeti posjetiteljev IP? Add user to your forum ignore list Reply with quote

naime, trebam na site staviti ip, napravio sam tablicu u kojoj pise helo user (sa foruma), i sad mi treba neka skripta ili par rijeci koda kojim bi mu se ispisao njegov ip i browser.

probao sam sa 'REMOTE_ADDR' i 'HTTP_USER_AGENT' i 100 mogucih kombinacija, ali nista ne uspijeva. stranice su u php-u.

please help, i samo mi nemojte napisati da idem po googleu tra(titi vrijeme)žiti
word up Cool

_________________
mp3hr.com
Back to top
View user's profile Send private message Send e-mail
t3r0



Joined: 08 Jun 2004
Posts: 107

PostPosted: 11.05.2005 18:47    Post subject: Add user to your forum ignore list Reply with quote

$_SERVER['REMOTE_ADDR']
Back to top
View user's profile Send private message
Pekx



Joined: 09 Sep 2004
Posts: 559

PostPosted: 11.05.2005 21:53    Post subject: Add user to your forum ignore list Reply with quote

t3r0 wrote:
$_SERVER['REMOTE_ADDR']


tenkju!!

inace, kod u php-u ide ovako:
Vas ip je(ili što već):
Code:
<? echo $_SERVER['REMOTE_ADDR'] ?>

_________________
mp3hr.com
Back to top
View user's profile Send private message Send e-mail
nel`chee



Joined: 08 Jul 2004
Posts: 2087
Location: Rijeka

PostPosted: 17.05.2005 13:52    Post subject: Add user to your forum ignore list Reply with quote

ali to prikazivanje juzeru njegovog IP-a is so last tuesday...

_________________
art & design portfoliofree Photoshop brushes stuffsketchblogfacebook
Back to top
View user's profile Send private message Visit poster's website Twitter profile
zytzagoo
mi3.crew


Joined: 25 Aug 2003
Posts: 1842
Location: Zagreb, Hrvatska

PostPosted: 17.05.2005 14:13    Post subject: Add user to your forum ignore list Reply with quote

Osim što je bezveze prikazivati userov ip, vodi računa i da ako je netko iza proxy-a ili slične naprave, nećeš vidjeti njegov stvarni IP, nego IP proxya. I ako proxy ne postavi x-http-forwarded-for ili sličan header, ne možeš doći do pravog IP-a korisnika. Također, moguće je i ići kroz više proxya, pa se u x-forwarded-for headeru vidi više adresa...
Back to top
View user's profile Send private message Visit poster's website Twitter profile
retro_one



Joined: 16 Sep 2003
Posts: 880
Location: DUBRAVA.

PostPosted: 17.05.2005 14:15    Post subject: Add user to your forum ignore list Reply with quote

a postoji mogucnost i da ja servoar namjesten tako da salje lokalni ip..bar je kod nas tako

_________________
Just your average eccentric programmer.
Back to top
View user's profile Send private message
Pekx



Joined: 09 Sep 2004
Posts: 559

PostPosted: 17.05.2005 20:36    Post subject: Add user to your forum ignore list Reply with quote

nel`chee wrote:
ali to prikazivanje juzeru njegovog IP-a is so last tuesday...

nemoj me zezat, kaj fakat? Very Happy
no kad netko to hoće, netko to hoće Very Happy ja tu nemrem ništa Smile

_________________
mp3hr.com
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Server-side All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group