Hey all
I'm trying to retrieve the dimensions/resolution of the fullsize images of TGP galleries. getimagesize() is of course not working with hotlink protected images, so I guess the only way is establishing a connetion with fsockopen() and sending false referrer information.
I tried that already and retrieving http status, last modified date, filesize etc is no problem ... but how would I go about the resolution?
I tried sending a "GET /image.jpg" already, but then my browser prompts me to download the file and choses myscript.php as the filename.
My head hurts already :-/ Maybe there's a rather simple solution? Writing the output of the GET request to a temp file on my webspace and doing a getimagesize() was what I thought about ... but it seems a little overcomplicated?
Also ... retrieving all pictures of the ~700-800 tgp gallery submission every day would be quite a waste of bandwidth :-/ and even worse ... when I run my linkbot to check all submitted galleries, this would be ... HOLY MOSES ... too many gigs to count :o
Thanks for aaaaaaaaalllll help
