how do you disply output

S

Smiles

good day I have never used javascript

head office has ask I add this line of code to a html page
local( $remoteHostIP ) = $ENV{"REMOTE_ADDR"};
and display IP

can any one tell me how to display

also what book would you recommend to learn javascript

thanks
 
S

Smiles

Good said:
that is not javascript, its PHP, and it doesn't say much for your
organization that head office is asking someone wholly unfamiliar with
either to update a page!
thanks

company rules state you create a document head office can ask for an update
your response has been sent to them to do upgrade because it is be on my
skills
most of my clients call me (on help desk) for advice
I created a html document set it as default homepage locally on computer
to support them

I did ask head office to provide a support website but company supports
to many different clients and does not want any thing to do with a website

so I created an html page on each pc along with two batch files
head office ask I remove ipconfig.batch and put IP on web page with the
line they give me

well I told them without help it is their problem not mine

thanks
 
L

-Lost

Smiles said:
company rules state you create a document head office can ask for an update
your response has been sent to them to do upgrade because it is be on my
skills
most of my clients call me (on help desk) for advice
I created a html document set it as default homepage locally on computer
to support them

I did ask head office to provide a support website but company supports
to many different clients and does not want any thing to do with a website

so I created an html page on each pc along with two batch files
head office ask I remove ipconfig.batch and put IP on web page with the
line they give me

well I told them without help it is their problem not mine

And besides all of that, $_ENV is useless if Register Globals are off.

Use $_SERVER['REMOTE_ADDR'] if anything, and don't expect it to reliably
output anyone's IP address when using an intranet. At best you will get
the DHCP/Static IPs addressed by the router or other addressing mechanism.
 

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,161
Messages
2,570,892
Members
47,431
Latest member
ElyseG3173

Latest Threads

Top