Re: File Phrasing & Mark-ups

From: Date: Mon, 05 Aug 2002 06:33:07 +0000
Subject: Re: File Phrasing & Mark-ups
Groups: php.general 
Request: Send a blank email to php-general+get-111164@lists.php.net to get a copy of this message
>A function I have written to accept filenames, read it and phrase it's mark >ups. Is the second function of one line file a good idea ? Yes, but why do the loop in PHP? $fa = file($file); $output = implode('', $fa); return $output; > Is there an >alternative ? Can problems arise if the size of the file being phrased is >very large ? Yes, of course. The real question is "How large is very large?" There are two possible limitations: 1. There is a setting in php.ini called, I think, memory_limit 2. There is only so much RAM/swap available on your machine. PHP will cheerfully use all that's there (and not already used), but after you hit that limit, there's not a whole lot PHP can do... Will your files every *REALLY* be that large? -- Like Music? http://l-i-e.com/artists.htm I'm looking for a PRO QUALITY two-input sound card supported by Linux (any major distro). Need to record live events (mixed already) to stereo CD-quality. Soundcard Recommendations? Software to handle the recording? Don't need fancy mixer stuff. Zero (0) post-production time. Just raw PCM/WAV/AIFF 16+ bit, 44.1KHz, Stereo audio-to-disk.

« previous php.general (#111164) next »