Simple image fetching script : $10 immediate payout

Discussion in 'General Chat' started by digitanay, Jul 3, 2009.

  1. #1
    Simple image fetching script

    $10 immediate payout

    Requirement:

    Say there is an image somewhere on the net. http://somesite.com/someimage.jpg

    I want a small php image caching script that will function like this:

    1)I will put the script at http://www.mysite.com/
    2)If i give the address http://www.mysite.com/http://somesite.com/someimage.jpg or http://mysite.com?q=http://somesite.com/someimage.jpg , the image should be fetched and saved with some file name in a folder, say images.
    3)When i give the same address again, it should check if the image already exists and return that image for that address. it should return in such a way that image tag should work like this

    <img src="http://mysite.com?q=http://somesite.com/someimage.jpg">

    Since the checking of whether the file exists will become CPU intensive and long when the number of files in the folder grows, i would like to have the file names stored in a mysql table also so that the check is faster.

    --------------------------------
    Can pay in advance if you have very good reputation on DP

    I can do it on my own in an hour but no time. Pls contact ASAP for payment/Negotiation

    PS: I dont have access to post in buy/sell forum. So posting here
     
    digitanay, Jul 3, 2009 IP