Hi!

Check the REMOTE_ADDR variable in the HTTP header.


<?php echo $REMOTE_ADDR; ?> 

will print the client IP address


See you

Nono

On Mon, 14 May 2001 [EMAIL PROTECTED] wrote:

> Anyone know how to get the connecting client's ip address using php?  I need
> to log this information to a db for security reasons
> 
> Thanks
> 
> Robert Staph, W3RCS
> The Center for Advanced Technologies
> 
> 
> ----- Original Message -----
> From: Roel Mulder <[EMAIL PROTECTED]>
> To: Mark McCray <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Monday, May 14, 2001 4:51 PM
> Subject: Re: [PHP-DB] Url link
> 
> 
> > Hi Mark,
> > Try this code for your delight:
> > http://www.oreillynet.com/pub/a/php/2000/11/02/next_previous.html
> > Regards,
> > Roel Mulder
> >
> > At 16:02 14-05-2001 -0400, you wrote:
> > >Hey there,
> > >I'm trying to build NEXT/PREV buttons on my search page.
> > >The only way I know to do it so far is via an url.
> >
> >  ><8          ><8          ><8          ><8
> >
> > >Does anyone know how best to get rid of the \'s or a better way to do
> > >next/prev buttons?
> > >
> > >Thanks!!!
> > >
> > >Mark
> >
> >
> > Mulder Technisch Advies
> > Postbus 69
> > NL-2740 AB  WADDINXVEEN
> > tel. 0182-640184 fax. 0182-640185
> > http://www.mta.nl
> >
> >
> > --
> > PHP Database Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> 


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to