Re: Is there a way to retrieve an entire source code from a php file?
| From: | Adam Voigt | Date: | Tue, 04 Feb 2003 16:00:55 +0000 |
| Subject: | Re: Is there a way to retrieve an entire source code from a php file? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-134283@lists.php.net to get a copy of this message | ||
$f = fopen("http://www.download.com/index.html","r");
$data = fread($f,1000000);
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:
There is a php file that retrieve the source code from the url
www.url.com and this source is treated and you get content from this
file and show it on the response page.
Is this possible? Can anyone show me the right direction?
Rodrigo.
--
Adam Voigt (adam@cryptocomm.com)
The Cryptocomm Group
My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc