Location: PHPKode > projects > Basted > trap/complex-example.php

This is an example only. 
This is a simple trap, this requires a place that will only serve 
as spambot trap. If you need another simpler example take a look at 


// Change this and put the full path to the following files


   Geneates a random mail and checks if exists in the database.
   If not returns the generated, if exists the function generates
   another until a uniq found.
$generated = getvalid($link);
$word = $generated[0];
$hyphenated_word = $generated[1];
$ip = ip2long($_SERVER['REMOTE_ADDR']);
$port = tosql($_SERVER['REMOTE_PORT']);
$agent = tosql($_SERVER['HTTP_USER_AGENT']);
$referer = tosql(@$_SERVER['HTTP_REFERER']);
<title><?=$word?>'s Infopage</title></head>
<body bgproperties="fixed" background="files/backer" bgcolor="#500030" link="#44aaff" vlink="#009999" alink="yellow">
<center><font size="7" color="#ffa000" face="times new roman">
        Welcome to <?=$domain?> home of <a href="mailto:<?=$hyphenated_word?>@<?=$domain?>"><?=$word?></a>

<hr size="4" width="75%" align="center" noshade="noshade">
<font color="#ffffff"><br><br>
  <font color="#ffffff">
    Welcome to my personal infopage.
    I graduated with a degree in 
      <font face="verdana" color="#ffa000">
	  Science - C.S.
      with great distinction from the Albino in Nigeria. 
	<td width="15%">
	  <font color="#ffffff">
	    My classes this semester are:
	    <ul><font face="monospace">
				<li> Working on my stinkin Master's thesis. I guess I'm lookin at way to obtain the
[partial] derivatives needed to make the implemented techniques
described here work right. I'm completely out of my depth, believe me! </li></font></ul>
	    What I do:
Music : compose, sing (most forms of it: choirs, chamber music,
soloist, barbershopper, musicals, operas) play trombone </li><li>
		  Have fun at Church
      <img alt="The Faces  of Alex" src="files/Alex%2520face" border="0" width="211" height="250">
   <td width="15%">

<td><font color=whitesmoke>Some of my shallow selection of interests and hobbies include:<br><pre>
* Dog breeding
* Doll making
* Sculpture
* Sewing
* Wood carving
* Antiques
* Books
* Classic videogames
* Comic books
* Dumpster diving
* Records
* Stamps
* Trading cards such as baseball cards
* Computer programming
* Linux
* Open source and the free software movement
* Cooking
* Electronics
* Hardware hacking
* Amateur radio and CB radio
* Robots
* HoMe Repairs
* Film-making
* Games
* Board games
* Chess
* Pente
* Card games
* Bridge
* Poker
* Backgammon
* Gin Rummy
* Dominoes
* Wargaming, sometimes with miniatures
* Role-playing games
* Historical reenactment, as in the Society for Creative Anachronism
* Homebrewing
* Literature
* Reading
* Writing
* Learning foreign languages
* Motor vehicles
* Antique cars
* Kit-cars
* Motorcycles
* Trucks
* Music
* Musical composition and MIDI compostion
* Observation
* Amateur astronomy
* Train, plane, and bus spotting
* Outdoor nature activities
* Birdfeeding, birding, and birdwatching
* Butterfly watching
* Canoeing and kayaking
* Mountain climbing
* Rafting
* Stone skipping
* Walking
* Photography
* Kite photography
* Crossword puzzles
* Research-related
* Genealogy
* Hagiography
* Restoration of highly entropic artifacts
* Antique machinery
* SailboatZ
* Houses
* Sports
* Gliding
* Hunting
* Sailing
* Shooting rifles, pistols, and shotguns
* Fantasy sports
* Toy
* Lego, including brikwars
    </font><hr size="4" width="75%" align="center" noshade="noshade">
<font color="#ffffff">    <font size="2">
      This page was last updated: 
        <font color="yellow">
          <script language="JavaScript">
            var dateMod = "";
            dateMod = document.lastModified;
          // --></script>
      by <?=$word?>:
      <a href="mailto:<?=$hyphenated_word?>@<?=$domain?>">
        <img align="middle" alt="Please E-mail me!" border="0" id="IMG1" src="files/mailbox.gif" width="50" height="50">
Return current item: Basted