Parašė inT_lt· 2008 Geg. 21 15:05:45
#7
tiesa sakant radau alternatyva:
<?php
$member = $_SERVER['REQUEST_URI'];
if (strstr($member, "id=bar2")) {
$id = "bar2"; }
if (strstr($member, "id=bar3")) {
$id = "bar3"; }
if (strstr($member, "id=bar4")) {
$id = "bar4"; }
if (!isset ($id)) {
$id = "bar1"; }
echo $id;
?>