By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,963 Members | 1,279 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,963 IT Pros & Developers. It's quick & easy.

retrieve web page

P: n/a
Hi,

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

http://www.algaebase.org/Distributio...1179jMy1D3B122

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?

Thanks
Piet

Jun 15 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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?

Thanks

Jun 15 '06 #2

P: n/a

pi************@gmail.com wrote:
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?

Thanks


Problem solved using trim().

Jun 15 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.