#native_company# #native_desc#

Where did they go today? Page 3

By Sebastian Moericke-Kreutz
on July 30, 2000

When you have set up the database and placed the page right you can use it in
different ways:
First, you can use it for standard
<a href="redir.php3?u_target=http://www.zet.net">
-commands. Second, you can use it in special forms for easy (and logged ūüėČ navigation. Look at
this example:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">



    <title>Where did they go today?</title>



<form action="redir.php3" method="POST" target="">

<select name="u_target" size="1">

    <option value="http://www.slashdot.org">News for Nerds</option>

       <option value="https://phpbuilder.com">News for cool Coders</option>

       <option value="http://www.hotbot.com">If you can't find it there...</option>

       <option value="http://community.zet.net">This is my baby...</option>


<input type="Submit">




Third: If you fear of getting ‘copied’ away with all of you links on your site, you
can expand the script, so that the parameter ‘$u_refferer’ is looked up in a separate
database and replaced by an address. (Like the one in html: 1 is for www.slashdot.org,
2 is for www.phpbuilder.com, and so on)
Finally: Mail me an other ideas you have! Tell me if you want this code expanded
with user-id’s, symbolic names for links and so on. I will put this script on an
own webpage soon and if I have the time, I will enhance it.