Reply to Re: fopen() problem

Your name:

Reply:


Posted by Erwin Moller on 07/31/06 15:46

pieterprovoost@gmail.com wrote:

> Hi,
>
> Can anyone tell me why going to
>
http://www.algaebase.org/DistributionResponse.lasso?currentMethod=distro&sk=20&-session=abv3:D5C1E5F111d2e05040XVy1A0A54A
> yields results, while the same page retrieved with fopen() says 'no
> results'?
>
> <?php
>
$pageurl='http://www.algaebase.org/DistributionResponse.lasso?currentMethod=distro&sk=20&-session=abv3:D5C1E5F111d2e05040XVy1A0A54A';
> $exthandle = fopen($pageurl, "r");
> $content = file($pageurl);
> fclose($exthandle);
> echo(implode("",$content));
> ?>
>
> Thanks
> Piet

Hi,

Open the same URL with Wget or something similar.
That way you can see the response.
Maybe it is redirecting?

Regards,
Erwin Moller

[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

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