When a computer comes to my web, I want to make a pupup windows (or print it in the HTML) Saying "Hello computername", in my case (my computer) : "Hello cbcomputer.bergsoe.dtu.dk", or like this "Hey 220.127.116.11 IP"
I want to do it with CGI, so the web-server writes a log file of what computers and IP addresses has been to the web !
When computer1 goes to my web the CGI will generate (in the HTML) "Hello IP=18.104.22.168 you have visited this webpage 5 times"
Getting the IP can be done with SCRIPT, but i only works on Netscape, and is only run on the CLIENT side. The programs shall be run on the web-server side, and shall work on both Netscape and Microsoft IE 3.0 or higher
My web-server can run CGI but not ASP, and the server is running in at LINUX/UNIX system. (if further information on the web-server is needed i'll find out !
I want this to be automatic so that the user, don't have to press a "Ok" buttom, and/or don't have to fill in a form.
How do i do this with SCRIP, ?? or Java ?
PS:I like SCRIPE the most, because all peope don't have Java