Re: [PHP-WIN] including an HTML file

2005-01-17 Thread Randy Clamons
just have to pick one that suits your needs. Randy Clamons Systems Programming Astro-auction.com > Original Message > From: The Disguised Jedi <[EMAIL PROTECTED]> > To: php-windows@lists.php.net > Date: Sun, Jan-16-2005 2:28 PM > Subject: Re: [

Re: [PHP-WIN] including an HTML file

2005-01-16 Thread The Disguised Jedi
Well, fread reads the entire file, and we need to check the lines to see if they contain our tag, and so that is why i used fgets. fread also puts the entire file into RAM, and that can cause memory problems with large files. But, I forgot a few pieces of my function, so I'm adding a better versi

Re: [PHP-WIN] including an HTML file

2005-01-15 Thread Randy Clamons
> To: php-windows@lists.php.net > Date: Thu, Jan-13-2005 10:19 PM > Subject: Re: [PHP-WIN] including an HTML file > > On Friday, January 14, 2005 1:06 AM [GMT+1=CET], > Gaetano Savoca <[EMAIL PROTECTED]> ha scritto: > > > So i must do all manually > > &g

Re: [PHP-WIN] including an HTML file

2005-01-13 Thread Gaetano Savoca
On Friday, January 14, 2005 1:06 AM [GMT+1=CET], Gaetano Savoca <[EMAIL PROTECTED]> ha scritto: So i must do all manually i write this //Seeding the while loop below with the first line of the input file $line=fgets($fh); while (!feof($fh)){