Re: [PHP] Is there a way to retrieve an entire source code from aphp file?

2003-02-04 Thread Adam Voigt
$f = fopen(http://www.download.com/index.html,r); $data = "" fclose($f); echo $data; On Tue, 2003-02-04 at 11:57, The New Source wrote: What I want to know is if it is possible to retrieve a source code from a url, with a php file. Something like this:

Re: [PHP] Is there a way to retrieve an entire source code from aphp file?

2003-02-04 Thread Adam Voigt
I believe he meant the HTML source of an HTML page. On Tue, 2003-02-04 at 11:02, 1LT John W. Holmes wrote: No, you can only get the output of the PHP script, not it's source code. ---John Holmes... - Original Message - From:

Re: [PHP] Is there a way to retrieve an entire source code from aphp file?

2003-02-04 Thread Philip Olson
On 4 Feb 2003, Adam Voigt wrote: I believe he meant the HTML source of an HTML page. An example in the manual does exactly this: http://www.php.net/file Regards, Philip -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php