so the following two files :a1.php and empty.php
a1.php:
<?
session_start();
if ($click_value){
echo "<h1>You clicked the URL:".$click_value."<h1>";
echo "<hr>\n";
}
echo "click one button,please\n<br>";
?>
<a href="empty?one=one">one</a>
<a href="empty?one=two">two</a>
<a href="empty?one=three">three</a>
empty.php:
<?
session_start();
if ($one){
$click_value=$one;
session_register("click_value");
header("location: a1.php");
}
?>