thanks, jokerhacker!
But I dont know setup...

I have created a js file with the function and index file with:
Code: 
$img_url = "http://www.besthostingforums.com/images/logo.png"; //// Variable with image link
up2zilla($img_url);  
But I believe it is not correct. The index must have a form to put the links?
Please, can you give me an example how is the index for this case?