Reply to Re: readfile for url produces wrong results.

Your name:

Reply:


Posted by Tyno Gendo on 04/07/07 15:58

AA wrote:
> Hi all. I have at website1.
>
> <?php
> $filename="http://orange.com/links.php?linker=3244324";
> echo readlfile($filename);
> ?>
>
> At website2, I ouput some generated HTML using the linker key from
> website1.
>
> 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.

Your website one script is reading from orange.com, 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
provider?

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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация