Ok, lets first say hi and give a server background... ok its freebsd 7.0, php 5.2.5, apache 2.2, and i just set it up today so it might be a setting i haven't changed or i didn't install php right lol but heres the error i have and please help I'm getting really mad! ??? also could this have anything to do with not having java installed on here(only because I'm not sure how to do ... I'm new to Freebsd/Unix/Linux...nut not too new
on this code the imgs are showing up just getting a red (X) on both this computer and my xp and my vista. <?php
$t = date('H');
$T = $t - 1 ;
if ($T >4 && $T <= 6)
print '<img src="img/dawn.jpg" alt"" />';
elseif ($T > 6 && $T < 18)
print '<img src="img/day.jpg" alt"" />';
elseif ($T >= 18 && $T < 20)
print '<img src="img/nightfall.jpg" alt"" />';
else
print '<img src="img/night.jpg" alt"" />';
?>
... oh ps. everything worked fine on my last tester server(the xp had same php, had the win apache 2.2. and your welcome to edit/use my img on time script just add cred to matt garner