21, November 2008

wrong remote_adr? - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP
Topic: wrong remote_adr?
« previous next »
Pages: [1] Print

Author Topic: wrong remote_adr?  (Read 614 times)
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6435
39434 credits
Members referred : 374


It's time to use PHP5!


« on: Aug 15, 2006, 01:06:36 AM »

Hello,

if I visit a page then my IP address is registered inside the logs, so far so good.

but if someone has placed an image from site A at site B the IP address from site B should be registered in the logs of site A or not?


Last blog : Just a better Internet portal provided by Google
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 8245
42457 credits
Members referred : 3



« Reply #1 on: Aug 15, 2006, 01:16:55 AM »

if you mean that he placed an image in the html code (<img src="B/......) then the logs of site b, will still have the first ip adress.

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy or twitter Visit through proxy

Last blog : Free Unlimited Bandwith and disk space to good to be true?
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 8245
42457 credits
Members referred : 3



« Reply #2 on: Aug 15, 2006, 01:17:32 AM »

The referer is what you are looking for Wink

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy or twitter Visit through proxy

Last blog : Free Unlimited Bandwith and disk space to good to be true?
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6435
39434 credits
Members referred : 374


It's time to use PHP5!


« Reply #3 on: Aug 15, 2006, 08:49:37 AM »

The referer is what you are looking for Wink
but the referer can be fake...

I checked the following, I created a file on server A showing the varialble "$_SERVER['REMOTE_ADR']" and open this file with file at server B than will show up the IP address from server A.

If I do the same with an (dynamic) image it the REMOTE_ADR from the visitor is logged (that strange I think)


Last blog : Just a better Internet portal provided by Google
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=3671
Tags : html Bookmark this thread : Digg Del.icio.us Dzone more....

Topic sponsors:
Get a permanent link here for $1.99!


Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP
Topic: wrong remote_adr?
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Nov 21, 2008, 04:53:21 AM





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!


Forum Statistics
Total Posts: 37.714
Total Topics: 7.646
Total Members: 4.390
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: panetolikos

33 Guests, 5 Users online :

20 users online today:



Readers

Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2008 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.