Jump to content

file() command problem


ronz

Recommended Posts

The file command works fine most of the time to read an internet page. However, sometimes it fails and I can't tell why. Here's an example:

file('http://www.akc.org/events/search/index_results.cfm?action=plan&cde_comp_group=AG&NEW_END_DATE1=&event_number=2008065001');

if you put this url etc in the browser url line it brings up the page ok, but if you do it with a file command, it fails. Other similar pages on the same site work fine.

Any idea if there's a ini_set I should be using, or maybe try a different way to read the page?

Link to comment
https://forums.phpfreaks.com/topic/96124-file-command-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.