thanks Dear ( bebonham ) ...
for telling me this ( MAC address and IP address are 2 different things. ) ... i thought that the tow are same ..
so could you please tell me HOW to get the two things !!
The Public IP like in Note ( 3 ) ....
and the Mac IP ....
but please i want them by CGI ONLY if you can ....
---------
for this (( http://www.experts-exchang
http://arabszone.com/htm.h
--------------
Thanks alot for your time ...
bye
Main Topics
Browse All Topics





by: bebonhamPosted on 2004-06-11 at 11:40:09ID: 11291388
MAC address and IP address are 2 different things.
e.com/Prog ramming/ Pr ogramming_ Languages/ Perl/Q_208 50500.html
http://checkip.dyndns.org
the above page checks your real public IP address, which is what you get from $ENV{REMOTE_ADDR} ...
http://www.experts-exchang
the above question is about getting a MAC Address, which is like dd-dd-dd-dd-dd-dd in hex digits
If that is what you want to do, the question above contains the solution.
finally, in note 3, you again say you want the IP address, which you get from $ENV{REMOTE_ADDR}
if you have any furthur questions, or would like a sample script showing how to get either the MAC address or IP address, I can help you with those.
bebonham