i have a index.php and it contain
<?
header('Location: search.php'.( isset($_REQUEST['q']) ? '?q='.urlencode($_REQUEST['']): ''));
?>
when i open my site . it redirect me to mysite.com/search.php but i want mysite.com/search.php?q=mobile . . This is search engine type query . please help me ..