I've installed PHP4.0.6 as a CGI application. I have everthing working and I can run my scripts from the command line with no problems. The problem lies in when I install my php script into the cgi-bin directory and run it from a browser. The header line in the script gets echoed along with the script output. For example, here's the script: #!/usr/local/php4.0.6/bin/php <? $hourdiff = "-3"; // hours difference between server time and local time $timeadjust = ($hourdiff * 60 * 60); $mydate = date("l, F dS, Y",time() + $timeadjust); print ("$mydate"); ?> This is the ouput: #!/usr/local/php4.0.6/bin/php Wednesday, August 15th, 2001 Any suggestions? I tend to believe its an Apache configuration issue, but I not sure specifically. I'm running Apache 1.3.17. Thanks -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]