Date: 02/24/00
- Next message: Alexander Aulbach: "Re: [PHPLIB] The Most-Frequently-Asked Question"
- Previous message: Chester McLaughlin: "[PHPLIB] insert, not overwrite"
- In reply to: Detlev Wagner: "Re: [PHPLIB] The Most-Frequently-Asked Question"
- Next in thread: Alexander Aulbach: "Re: [PHPLIB] The Most-Frequently-Asked Question"
- Reply: Alexander Aulbach: "Re: [PHPLIB] The Most-Frequently-Asked Question"
- Reply: Alexander Aulbach: "Re: [PHPLIB] The Most-Frequently-Asked Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Marc,
Detlev Wagner wrote:
>
> set the variable require-final-newline to 'nil' in your .emacs file. So
> Emacs will not automattically add a newline at the end of each file.
> There should be similar configuration options for the other editors...
>
> Detlev
>
To achieve the same effect in vim (on many systems vi is aliased to
vim), you can use "set binary". On true vi AFAIK it should not be a
problem anyway.
The following (unelegant performance killer!) might help you debugging
...
function my_inc ($filename) {
$string = fread ($fp, 100000);
if ($white = ereg("^[^<]+",$string))
{
echo "\n<BR>Leading junk ($white) in $filename";
}
if ($white = ereg("[^>]+$",$string))
{
echo "\n<BR>Trailing junk ($white) in $filename";
}
include ($filename);
}
Regards,
Holger
-- Holger Blasum (weigl|avendo|a2e) - PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>. To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in the body, not the subject, of your message.
- Next message: Alexander Aulbach: "Re: [PHPLIB] The Most-Frequently-Asked Question"
- Previous message: Chester McLaughlin: "[PHPLIB] insert, not overwrite"
- In reply to: Detlev Wagner: "Re: [PHPLIB] The Most-Frequently-Asked Question"
- Next in thread: Alexander Aulbach: "Re: [PHPLIB] The Most-Frequently-Asked Question"
- Reply: Alexander Aulbach: "Re: [PHPLIB] The Most-Frequently-Asked Question"
- Reply: Alexander Aulbach: "Re: [PHPLIB] The Most-Frequently-Asked Question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

