Hmm,
if your code is like you posted it, it should work. I think you should not trust your system admin and try to use $GET:
<?
if ($_GET['Page']) {
print ("<img src=\"header_$_GET['Page'].gif\" width=\"520\" height=\"92\" border=\"0\">");
} else {
print ("<img src=\"header_Profile.gif\" width=\"520\" height=\"92\" border=\"0\">");
}
?>
I am not sure about your quoting, it probably works, but I would use it like this, I think it's easier:
<?
if ($_GET['Page']) {
print '<img src="header_'.$_GET['Page'].gif.'" width="520" height="92" border="0">';
} else {
print '<img src="header_Profile.gif" width="520" height="92" border="0">';
}
?>
or, to confuse you a little more 🆒 , this is nice and simple too:
<?php if ($_GET['Page']) { ?>
<img src="header_<? print $_GET['Page'].gif; ?>" width="520" height="92" border="0">
<?php } else { ?>
<img src="header_Profile.gif" width="520" height="92" border="0">
<?php } ?>