In my php page there is error of “Undefined Index type”. But if the same URL is opened with string e.g. mypage.php?type=abc then this error is not shown!
I want to redirect users without string i.e. from mypage.php to mypage.php?type=abc
I decided better to correct php!
Php code follows
<?
if (($_REQUEST["type"] == "mz") || ($_REQUEST["type"] == "ie") || ($_REQUEST["type"] == "iea")) {
?>
<link rel="SHORTCUT ICON" href="icons/<?= $_REQUEST['id'] ?>_favicon.ico" type="image/x-icon">
<?
}
?>
<?
if ($_REQUEST["type"] == "mza") {
?>
<link rel="icon" href="icons/<?= $_REQUEST['id'] ?>_extra_animated_favicon.gif" type="image/x-icon">
<? } ?>
There is error in 2 line and last line
Check this
And then: