Posted by hol on 12/23/06 19:40
I'm trying to access the contents of a simple text file on a different
server
When I try
echo readfile("http://www.otherdomain.com/sometext.txt");
it fails
if the text file is on my server, like
echo readfile("sometext.txt");
it works
What am I doing wrong? I read on the PHP manual that it should work across
different domains.
Thnaks beforehand
Mark
Navigation:
[Reply to this message]
|