help please

S

suchodj

I would like to query any web serveur with my browser (firefox)
in order to obtain the server environment variable REMOTE_ADDR
(which is my own ip).
is it possible ??
if it is could you send me a coded exemple
many thanks
jerome
 
P

Peter Flynn

I would like to query any web serveur with my browser (firefox)
in order to obtain the server environment variable REMOTE_ADDR
(which is my own ip).
is it possible ??

I don't think so. The REMOTE_ADDR value is only available when a script
is executed in a CGI context, so you would need to have a script on the
server which echoed the value. That isn't possible on an arbitrary
server, only on one over which you have control.

This is an XML newsgroup. You may get better information in a http forum.

///Peter
 
S

suchodj

I don't think so. The REMOTE_ADDR value is only available when a script
is executed in a CGI context, so you would need to have a script on the
server which echoed the value. That isn't possible on an arbitrary
server, only on one over which you have control.

This is an XML newsgroup. You may get better information in a http forum.

///Peter
Thank you Peter. Your explanation is very clear.
regards
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,008
Messages
2,570,270
Members
46,873
Latest member
HeidiWeing

Latest Threads

Top