Hi,
you have to set a value for $action or pass one...
<?PHP
$action = urldecode($action);
echo $action;
?>
If $action is nothing what it can urldecode?
You can set it before
<?PHP
$action="%20%20%20"
$action = urldecode($action);
echo $action;
?>
or call the script whit "?action=%20%20%20" appended to the url
mytest.php?action=%20%20%20
<?PHP
$action = urldecode($action);
echo $action;
?>
In this second if you don't have globals var on (you can read on phpinfo()) you must use $_GET[] array:
mytest.php?action=%20%20%20
<?PHP
$action = urldecode($_GET["action"]);
echo $action;
?>
good luck.