Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [drumstick] how to show ip of link submitter

Quote Reply
Re: [drumstick] how to show ip of link submitter In reply to
1. Create new column in Links Table: "SubmittersIP"
2. Create new globals: "remote_ip"

sub {
return $ENV{REMOTE_ADDR}
}

3. Add in include_form.html this code:

<%if SubmittersIP%>
<input type="hidden" value="<%SubmittersIP%>" name="SubmittersIP" />
<%else%>
<input type="hidden" value="<%remote_ip%>" name="SubmittersIP" />
<%endif%>

Should work!

_________________________________________________________________________________________________________________
Web directory and search engine | Dirlist.net Directory - Add your link today.
Subject Author Views Date
Thread how to show ip of link submitter drumstick 2042 May 21, 2005, 7:50 PM
Thread Re: [drumstick] how to show ip of link submitter
Bigpat 2012 May 23, 2005, 7:41 AM
Post Re: [Bigpat] how to show ip of link submitter
Andy 2005 May 23, 2005, 8:16 AM