A
Anonymous
Guest
in this:
Where is the data, after the url, sent to? Sorry if this is a dumb question, i tried most of the variables up there, do i have to do something like switch(get_args($string))
Code:
<?
//Retrieves data from end of URL
function get_args($string) {
return substr($string, $strpos($string, '?') + 1);
}
//Data is sent to ?
switch($??)
{
case "redirect" :
echo "Bahumbug";
break;
case "links" :
echo "Bahumbug2";
break;
case "home" :
echo "Bahumbug3";
break;
default :
echo "Where are you going, young man?";
break;
}
Where is the data, after the url, sent to? Sorry if this is a dumb question, i tried most of the variables up there, do i have to do something like switch(get_args($string))