Thread
:
Use PHP to download .html file from another site (Like LWP::Simple in Perl) ?
View Single Post
#
5
(
permalink
)
07-03-03, 01:57 AM
Chris Boulton
Wannabe Coder
Join Date: Jun 2003
Location: Sydney, Australia
Posts: 208
Thanks: 0
Thanked 0 Times in 0 Posts
I think you have to specify the full url..
You could try this as well..
PHP Code:
<?php
$arr
=
file
(
"http://www.hotscripts.com"
);
$contents
=
implode
(
""
,
$arr
);
?>
$arr is an array consisting of each line in the file..
$contents is it all imploded together as one variable.
__________________
Chris Boulton
SurfiOnline!
MyBulletinBoard
Chris Boulton
View Public Profile
Visit Chris Boulton's homepage!
Find all posts by Chris Boulton