shage Posted March 7, 2007 Share Posted March 7, 2007 Im new and total lost at how to grab the url between the src="" from a webpage and replacing the ../ or whatever with the full domain name. Any help or links would be very helpful. Link to comment https://forums.phpfreaks.com/topic/41637-grabbing-img/ Share on other sites More sharing options...
simcoweb Posted March 7, 2007 Share Posted March 7, 2007 You mean the difference between an 'absolute' and a 'relative' url/source? Absolute: http://www.yoursite.com/imagefolder/nameofimage.jpg Relative: nameofimage.jpg or ./imagefolder/nameofimage.jpg etc. Link to comment https://forums.phpfreaks.com/topic/41637-grabbing-img/#findComment-201745 Share on other sites More sharing options...
shage Posted March 7, 2007 Author Share Posted March 7, 2007 yes i have no where to start to work this script out or what functions are needed. Any help would work Link to comment https://forums.phpfreaks.com/topic/41637-grabbing-img/#findComment-201753 Share on other sites More sharing options...
simcoweb Posted March 7, 2007 Share Posted March 7, 2007 You'll need to ask specific questions and post what code you have that may be producing errors or not producing what you need. Then we're glad to help. Link to comment https://forums.phpfreaks.com/topic/41637-grabbing-img/#findComment-201771 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.