View Single Post

   
  #10 (permalink)  
Old 02-19-2008, 07:19 AM
George Georgakis
 
Posts: n/a
Default Re: Completely O.T. but perhaps interesting Q.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

George Georgakis <geeg@tripleg.GO.AWAY.SPAMMERS.net.au> wrote:

> Why not add an extra line to the PHP page that _also_ emails the
> IP to your email address as soon as the LIS box hits? You can
> always pipe the IP variable to the "mail" command (as per my first
> suggestion).


To clarify, add this line to the PHP file on the middle-man
machine:

<?
passthru("echo $REMOTE_ADDR | mail -s LIS_IP you@yourisp.com");
?>

Substitute your email address for that last bit.

- --
George Georgakis-geeg AT tripleg net au-http://www.tripleg.net.au/
SlackBuild Central - http://slackpack.tripleg.net.au/

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>

iQA/AwUBP/r2h0lp3nJf7PixEQJpNACgxKw1XQ0zP8G1T8DDHotDewqsT/IAni5G
Fe3K43BqjRwsaAa7f0E1gizG
=wTgM
-----END PGP SIGNATURE-----
Reply With Quote