retrieve web page

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

Threaded View

I'm having problems retrieving the contents of an external web page.
When I open this page on my computer, I get some results:

However, when I try to retrieve this page with fopen(), I get an
AlgaeBase page saying "Sorry, no records were found with your search
parameters." Does anyone have any idea why this is and what I can do
about it?


Re: retrieve web page

Remark: this url is read from a textfile which contains a list with
urls. When I used the url directly without reading it from the file,
everything works fine. Could it be that the url read from the file
contains hard returns etc which are causing the problem? What can I do
about that?  


Re: retrieve web page wrote:
Quoted text here. Click to load it

Problem solved using trim().

Site Timeline