vendredi 10 avril 2015

How to get the hyperlink from an image when given its url

I was wondering is it possible to get the hyperlink of an image if the image url is give for eg i have a webpage say www.example.com with an image for eg :



<a href="http://ift.tt/1Oibyqx"><img id="img" src="http://ift.tt/1Dr9Kry" alt="The Image" name="img" height="1140" width="800"></a>


i was thinking is it possible to get


http://ift.tt/1Oibyqx


when i give


http://ift.tt/1Dr9Kry


as an input in php?


Aucun commentaire:

Enregistrer un commentaire