Hi Monty,

I've been trying to do the same thing with no success. Would you be so kind 
as to show me how you finally did it? I'm not too clear what you meant by:

"So, if I replace the filesize($filename) command with a hard-coded number, 
it works."

Tia,
Andre

On Thursday 18 July 2002 04:28 pm, you wrote:
> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to