- Original message -
From: "Troy May" <[EMAIL PROTECTED]>
To: "@ Edwin" <[EMAIL PROTECTED]>
Date: Sat, 16 Nov 2002 21:45:50 -0800
Subject: RE: [PHP] Opening a file to manipulate it
Thanks Ed! Yes, another member here told me to use fread(), which is
what
your
bject: Re: [PHP] Opening a file to manipulate it
Hello,
"Troy May" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Extreme newbie here (halfway through my first book :) ). I need to open a
> file, read the whole file into a variable, manipulate it, and then echo it
> to the
Hi,
on 17/11/02 1:45 PM, Troy May ([EMAIL PROTECTED]) wrote:
>
> echo $header; ?>
>
> It writes "Resource id #1" at the top of the page. What is that?! :)
You're missing some code -- instead, try this example from the fread() page
in the manual:
Cheers,
Justin French
-
Hello,
"Troy May" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Extreme newbie here (halfway through my first book :) ). I need to open a
> file, read the whole file into a variable, manipulate it, and then echo it
> to the screen. I'm doing it right from my book and it's not working.
> Here's what I
4 matches
Mail list logo