CODE
LIBARY.COM
Home
/
PHP
PHP Query redirection
Query redirection
<?
if
(
$_SERVER
[
'QUERY_STRING'
] !=
""
)
header
(
"Location: "
.
$_SERVER
[
'QUERY_STRING'
]);
?>
<? if ($_SERVER['QUERY_STRING'] != "") header("Location: ".$_SERVER['QUERY_STRING']); ?>
Copy to Clipboard
Related Snippets
PHP Months array
PHP Magic methods __wakeup() and __sleep() usage
PHP Count Files in Directory
PHP Convert Camel Case to Snake Case in PHP
PHP Free For All Links
PHP Email PHP Errors - Custom Error Handler
PHP Integrating Youtube HTML5 - Sumonst21
PHP Git Modified Files Tool
PHP News Pager Pro
PHP Miltidimension array example