I have a welcome message for logged in users;
<?php
echo "<h1>Welcome, {$_SERVER['PHP_AUTH_USER']}.</h1>";
?>
But it would say something like "Welcome, john smith" rather than "Welcome, John Smith"
I've tried using;
<php?
echo ucfirst
?>
But that doesn't work because of how PHP_AUTH_USER is formatted.
Thanks in advance.