debian-sf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Debian-sf-devel] Task Manager Rewrite


From: Jim Nutt
Subject: Re: [Debian-sf-devel] Task Manager Rewrite
Date: Thu, 19 Dec 2002 09:35:14 -0800

On Thu, 19 Dec 2002 18:04:36 +0100
Roland Mas <address@hidden> wrote:

> Jim Nutt (2002-12-19 08:53:27 -0800) :
> 
> > Actually it can be done in one line.. Just make the first line of
> > the file something like this:
> >
> > <!-- -*- mode: php; c-file-style: "bsd" -*- -->
> >
> > That's a single line and does the job nicely.
> 
> True, true.  But it gets sent to clients (even before the headers are
> sent), which can cause problems (and the clients will get that for
> every PHP file loaded for every page they request).  Also, it doesn't
> work for offline scripts, since the first line is the shebang line.

Good point.. so it should probably be:

        <?php /* -*- mode: php; c-file-style: "bsd" -*- */ ?>

for best results. Of course, I don't really mind the multi line version.. I 
usually just stick it at the bottom of the file..

jim

Attachment: pgpW95TDkdoap.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]