Re: Loading a File into Variable - How??

From: Date: Thu, 18 Jul 2002 20:28:57 +0000
Subject: Re: Loading a File into Variable - How??
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-108336@lists.php.net to get a copy of this message
> Look 4 implode() in the function list Implode isn't really what I need, I just want to load an entire file into a single string variable. However, I figured out the problem shortly after posting that first message (of course). Because the file being opened is in the include_path, it seems filesize() doesn't see those files. So, if I replace the filesize($filename) command with a hard-coded number, it works. Monty

« previous php.general (#108336) next »