fsockopen retrieves different data than browser
Posted: Fri Aug 12, 2005 4:55 pm
I'm trying to scrape some data (not really scrape, but display better) from mls.ca. I can go to the url in my browser and it works perfectly. however, whenever i try to use file, file_get_contents, fopen, fsockopen, etc.. it either gives me access denied, or garbage (almost looks encrypted)
the url that i'm trying to grab (among others) is http://clientclick.mls.ca/PropertyResul ... &o=&Mode=1 if anyone can help me figure this out, i'd greatly appreciate it.
Btw, I AM able to display the same page inside an iframe perfectly, but it causes horiz scrolling, and that's not acceptable, i'd rather just popup a window...
the url that i'm trying to grab (among others) is http://clientclick.mls.ca/PropertyResul ... &o=&Mode=1 if anyone can help me figure this out, i'd greatly appreciate it.
Btw, I AM able to display the same page inside an iframe perfectly, but it causes horiz scrolling, and that's not acceptable, i'd rather just popup a window...