You don't need to put the shebang line in your script.
Just enclose your code with:
<?php
code goes here
?>
> -----Original Message-----
> From: Wayne Smith [mailto:[EMAIL PROTECTED]]
> Sent: March 16, 2001 12:42 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] (Q) CGI over Apache shebang echo
>
>
> All,
>
> I apologize for the newbie question.
>
> I am running PHP 4.0.4p1 over Apache 1.3.14 over Windows 2000 via CGI.
> PHP scripts run fine, but I get the first line (i.e., the "shebang"
> line), "#!d:/php/php" echo'ed to the browser upon each execution. Is
> this fundamentally an Apache issue or a PHP issue? And what
> configuration step did I miss?
>
> Thanks
>
> Wayne
>
>
>
> --
> PHP Windows 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]
>
>
smime.p7s