php3-list | 199901
Date: 01/25/99
- Next message: Peter van Dijk: "Re: [PHP3] $scalar = include(text.inc)?"
- Previous message: Priyadi Iman Nurcahyo: "[PHP3] apxs problem"
- Maybe in reply to: smindlin <email protected>: "[PHP3] $scalar = include(text.inc)?"
- Next in thread: Peter van Dijk: "Re: [PHP3] $scalar = include(text.inc)?"
- Reply: Peter van Dijk: "Re: [PHP3] $scalar = include(text.inc)?"
- Reply: Tommy Williams: "RE: [PHP3] $scalar = include(text.inc)?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 10:23 AM 1/25/99, Tommy Williams wrote:
>On Monday, January 25, 1999, 10:01 AM -0600 Richard Lynch
><lynch <email protected>> wrote:
>
>> I think the whole point of file() is to suck in a whole file, as-is.
>
>Nope. file() pulls it into an array.
>
>> Read the docs.
>
>I did:
>
><http://www.php.net/manual/function.file.php3>
>
>file -- read entire file into an array
>Description
>
>array file(string filename);
>
>Identical to readfile(), except that file() returns the file in an array.
>Each element of the array corresponds to a line in the file, with the
>newline still attached.
Okay, so use readfile().
-- "TANSTAAFL" Rich lynch <email protected> webmaster@ and www. all of:
R&B/jazz/blues/rock - jademaze.com music industry org - chatmusic.com
acoustic/funk/world-beat - astrakelly.com sculptures - olivierledoux.com
my own nascent company - l-i-e.com cool coffeehouse - uncommonground.com
-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3 List administrator: zeev-list-admin <email protected>
- Next message: Peter van Dijk: "Re: [PHP3] $scalar = include(text.inc)?"
- Previous message: Priyadi Iman Nurcahyo: "[PHP3] apxs problem"
- Maybe in reply to: smindlin <email protected>: "[PHP3] $scalar = include(text.inc)?"
- Next in thread: Peter van Dijk: "Re: [PHP3] $scalar = include(text.inc)?"
- Reply: Peter van Dijk: "Re: [PHP3] $scalar = include(text.inc)?"
- Reply: Tommy Williams: "RE: [PHP3] $scalar = include(text.inc)?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

