When I use fopen on the URL:
fopen("http://home.pchome.com.tw/world/qoo4ko/110.jpg";, "r")
I would get the following error message:
-----------Error Message------------
Warning: fopen(): Circular redirect, aborting.
Warning: fopen(http://home.pchome.com.tw/world/qoo4ko/110.jpg): failed
to open stream: Permission denied
------------------------------------
But when I use HTML (<img src="<?=$URL?>" alt="">), to display it, it
does display on the screen.
How come fopen cannot open certain URLs while <img> can display them.
Does anyone have any idea why this happens?
I'm try to use fopen to check if a link is broken. If anyone has a
workaround solution, it would be great, too.
Thanks very much.