readfile accross domains



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


.



Relevant Pages

  • Re: WEB SITE PROJECT DEPLOYMENT ~ Help please??
    ... ECHO When/If prompted with the question: ... The files are all now sitting on my Server, and when I load my web site, ... An error has occurred while establishing a connection to the server. ... The connection string specifies a local Sql Server Express instance using ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Script Need to check disk space on remote servers
    ... Is it possible to get SQL Server database and log information (like ... echo Checking drives on Server %%S... ... REM this part of the script generates an HTML file with all the ... REM and then launches it using the default browser. ...
    (microsoft.public.windows.server.scripting)
  • Re: Script Need to check disk space on remote servers
    ... Is it possible to keept the process running by skipping over remote computer ... Is it possible to get SQL Server database and log information (like ... echo Checking drives on Server %%S... ... REM and then launches it using the default browser. ...
    (microsoft.public.windows.server.scripting)
  • My solution for preventing xhost +
    ... from running xhost + and thereby exposing an/the X server. ... If the script detects this condition, ... echo "Re-enabling access control per Security Policy." ...
    (Focus-SUN)
  • Re: timing a program on Windows
    ... There is a utility named TimeThis.exe that will run under Windows ... NT/2000/XP and I presume 2000 Server and 2003 Server. ... echo off ... rem Set the prompt to the time of day. ...
    (comp.lang.fortran)

Loading