Hello Folks!
Problem in getting image size by using getimagesize() function in PHP, the function is working fine on windows OS, but returning nothing on Unix OS, Please guide me how I could get image size/dimensions on Unix OS, as long as I have understood the problem, it is basically the path problem, The PHP On Unix OS is unable to resolve paths like,
http://somesite.com/images/temp.gif
because function, getimagesize(“
http://somesite.com/images/temp.gif”) is not working also functions like
fopen(“
http://somesite.com/images/temp.gif”)
copy(“
http://somesite.com/images/temp.gif”, “target.gif”)
are also not working, I think due to the path problem,
Please guide how could I get the image size of remote image files on unix server.
Thanks.