Is it possible to read from a PUBLIC file on another domain.
I tried:
$file = file ('http://www.the_other_domain.com');
but without any luck.
i think you can open streams to http instead of using file
$handle = fopen('http://url.com', 'r');
Originally posted by bokehman Is it possible to read from a PUBLIC file on another domain.
Yes.
I tried: $file = file ('http://www.the_other_domain.com'); but without any luck. [/B]
but without any luck. [/B]
What happened?
I got an error but it was because I miss typed the file name.