Go Back   CodingForums.com > :: Server side development > Perl/ CGI

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-22-2002, 03:31 AM   PM User | #1
ACJavascript
Regular Coder

 
Join Date: Jun 2002
Location: FL, USA
Posts: 734
Thanks: 0
Thanked 0 Times in 0 Posts
ACJavascript is on a distinguished road
IP Address on HTML Page

Hi everyone,

Well what i'm trying to do is put the users IP address on the page their on. I know how to do this in perl but i know theres a way to do it on an html page. like: <!--#exec="REMOTE_ADDR"-->

I know its something like that but i just can't figure it out.


So my question is how can i do that



Thanks in advance
__________________
CYWebmaster.com - See why we dot com!!
ACJavascripts.com - Cut & Paste Javascripts!
SimplyProgram.com - Personal Blog
ACJavascript is offline   Reply With Quote
Old 06-22-2002, 03:51 AM   PM User | #2
Calilo
Regular Coder

 
Join Date: Jun 2002
Location: Mex
Posts: 122
Thanks: 0
Thanked 0 Times in 0 Posts
Calilo is an unknown quantity at this point
this should work

<!--#echo var="REMOTE_ADDR" -->

Calilo
Calilo is offline   Reply With Quote
Old 06-22-2002, 06:42 PM   PM User | #3
ACJavascript
Regular Coder

 
Join Date: Jun 2002
Location: FL, USA
Posts: 734
Thanks: 0
Thanked 0 Times in 0 Posts
ACJavascript is on a distinguished road
Thanks Calilo,

But it didn't work.

I tried it normaly

then i tried it by uploading it in ASCII Mode

Then i tried chrom - ing it to 755.

But none worked.

Any other ideas
__________________
CYWebmaster.com - See why we dot com!!
ACJavascripts.com - Cut & Paste Javascripts!
SimplyProgram.com - Personal Blog
ACJavascript is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:50 AM.


Advertisement
Log in to turn off these ads.