I need help having PHP executed within html files. This is because it will allow me to format the site a lot easier. On the cPanel X administration page, I can't seem to find the Apache Handler button. It's supposed to be under the advanced tab, but I don't see it. Any help would be appreciated. THANKS.
e.g. code.
<?php
$br = strtolower($_SERVER['HTTP_USER_AGENT']); // what browser they use.
if(ereg("msie", $br)) {
echo "THIS IS IE";
} else {
echo "THIS IS FOR OTHER BROWSER NOT IE";
}
?>
BTW I have intermediate permissions. My friend has the same level of permission and he has that little icon.
e.g. code.
<?php
$br = strtolower($_SERVER['HTTP_USER_AGENT']); // what browser they use.
if(ereg("msie", $br)) {
echo "THIS IS IE";
} else {
echo "THIS IS FOR OTHER BROWSER NOT IE";
}
?>
BTW I have intermediate permissions. My friend has the same level of permission and he has that little icon.
Last edited: