I'm calling an url using fopen, and I get a warning of:
fopen("http://url/", "r") - success in line x
and then errors on all the lines that try to use the filehandle. The only thing I can think is that it's using redicrects (which I know fopen doesn't support). Is there any way I can have it follow the redirects and return the page it ends up at?
Thanks,
Danny