Re: Retriving IP from web visitors question
by "Bridgett Schneider" <bridgett(at)maddoc.net>
|
| Date: |
Fri, 13 Dec 2002 11:44:20 -0600 |
| To: |
hwg-basics(at)hwg.org |
| In-Reply-To: |
p1 |
| |
todo: View
Thread,
Original
|
|
I have used the variable 'REMOTE_USER' in forms before. I also don't
do PHP, I use the mailmerge.cgi as my form generator. I believe most
form generators use the same variables to call up information. You
may want to check to see what cgi your friend is using and then see
if there is a website to check out their capabilities. I don't have
a form online that uses the 'REMOTE_USER' variable at this time for
you to see. Just letting you know it can be done w/o using PHP.
Bridgett
On 14 Dec 2002 at 1:36, Beauford.2002 pondered about:
Re: Retriving IP from web visitors
> He's not using PHP and this would be way to much work to change it.
>
>
> ----- Original Message -----
> From: "Keith D Sellars" <Keith(at)webgraffix.com>
> To: "HWG Basics" <hwg-basics(at)hwg.org>
> Sent: Thursday, December 12, 2002 11:12 PM
> Subject: Re: Retriving IP from web visitors question
>
>
> > You can echo the IP address to the screen with php with the
> > following command:
> >
> > <? echo "$REMOTE_ADDR" ?>
> >
> > As a form input:
> >
> > <input type="hidden" value="<? $REMOTE_ADDR " ?>">
> >
> > On the form is submitted to, you can echo the value of the above
> > variable (which is the IP address). I haven't tried the code above
> > exactly this
> way,
> > but it is very similar to something that I've done in the past that
> > worked well.
> >
> > We did it at http://www.schoolpad.net/page.php?TeacherID=293&Page=3
> > and it works very well. It almost stopped our vulgar email problems
> > completely.
> >
> > Thanks,
> > Keith D Sellars
> > WebGraffix
> > www.webgraffix.com
> >
HTML: hwg-basics mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.