PHP copy() jpg from .aspx page brings in empty file

I am trying to use the php copy() function to get images from a .aspx page. The the function copies a file over, but it is zero bytes.

copy() works fine on this server if i try to grab a .jpg file, and I can copy() the image fine from the .aspx page in question on a different server.

Does anyone know an apache or php setting that would cause the zero byte copy behavior on one server but not another?

Sponsor our Newsletter | Privacy Policy | Terms of Service