readfile for url produces wrong results.

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi all. I have at website1.

$filename=" ";
echo readlfile($filename);

At website2, I ouput some generated HTML using the linker key from  

But what happens when I retrieve the HTML is that website2 outputs the HTML  
relating to the webhosting company's main page instead of my HTML generated  
code. I am using apache on website1 and website2. Does anybody know why  
this is happening. Thanks in advance.

Re: readfile for url produces wrong results.

AA wrote:
Quoted text here. Click to load it

Your website one script is reading from, where does website  
two come into it?  What's being run at website2?

Also, if you're calling a URL on website 2, you sure you got the address  
right and your not getting some predefined 404 error page from your  

Please submit full code examples so people can see clearly what you're  

Site Timeline