Do I have to have a header at the top of my PHP scripts?

No. Since we are not using PHP as a CGI binary, there is no reason to use the #!/usr/bin/php header in your PHP scripts. Doing so will only cause the header to show up as output as well.

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

Can I use PHP in conjunction with MySQL?

Absolutely. Once of the big advantages of PHP is the ability to interface to databases,...

Where can I find more information on PHP and using it on my website?

PHP is quickly becoming a very popular scripting language. More information on PHP can be found...

Can I run PHP scripts anywhere on my virtual server?

Yes, PHP scripts do not have to reside in a particular directory and will run anywhere on your...

What is PHP?

PHP is a server-side, cross-platform, HTML embedded scripting language. It has a syntax familiar...