Re: [PHP] Re: writing source code to file

2004-08-17 Thread John Holmes
Hannes Magnusson wrote: On Tue, 17 Aug 2004 19:34:18 -0700 [EMAIL PROTECTED] (John Holmes) wrote: Hannes Magnusson wrote: file_get_contents("http://www.yoursite.com/script.php";); I belive that this method will hang for ever since the script doesnt exit until file_get_contents() has got the comple

Re: [PHP] Re: writing source code to file

2004-08-17 Thread Hannes Magnusson
On Tue, 17 Aug 2004 19:34:18 -0700 [EMAIL PROTECTED] (John Holmes) wrote: > Hannes Magnusson wrote: > > >>file_get_contents("http://www.yoursite.com/script.php";); > > > > I belive that this method will hang for ever since the script > > doesnt exit until file_get_contents() has got the complet

Re: [PHP] Re: writing source code to file

2004-08-17 Thread John Holmes
Hannes Magnusson wrote: file_get_contents("http://www.yoursite.com/script.php";); I belive that this method will hang for ever since the script doesnt exit until file_get_contents() has got the complete results.. ...and the complete results wont be ready until file_get_contents() returns. There

[PHP] Re: writing source code to file

2004-08-17 Thread Hannes Magnusson
On Wed, 18 Aug 2004 00:50:45 -0700 [EMAIL PROTECTED] (Josh Acecool M) wrote: > file_get_contents("http://www.yoursite.com/script.php";); I belive that this method will hang for ever since the script doesnt exit until file_get_contents() has got the complete results.. ...and the complete results w

[PHP] Re: writing source code to file

2004-08-17 Thread Josh Acecool M
file_get_contents("http://www.yoursite.com/script.php";); using http:// causes it to get the html source. "Hannes Magnusson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > http://www.php.net/manual/en/ref.outcontrol.php > > On Mon, 16 Aug 2004 10:35:42 -0400 > [EMAIL PROTECTED] (Dou

[PHP] Re: writing source code to file

2004-08-16 Thread Hannes Magnusson
http://www.php.net/manual/en/ref.outcontrol.php On Mon, 16 Aug 2004 10:35:42 -0400 [EMAIL PROTECTED] (Doug Parker) wrote: > I was wondering if there was a block of code I could place at the bottom of > the file that would write the page's source code to an html file. I need > this because I'm po