so i want to script print PHP and Image url from this code: <strong>title: PHP </strong> <br> <img src="image url" /> how i can do this?
<strong>title: here is some text</strong> <br> <img src=" here is image url " /> i want to get text and image url from code above and then write this text and image url in database
You want to screen-scrape something right? You want to retrieve this information from another (not your) site?
yes from another site, i have already get content from another site with file_get_content and now whant to get from this content some text and image url and how can i do thos?
first.. you didn't gave us the example of that page... should that script works on EVERY page.. or just on specific? Because, if it should works only on specific page.. and if there is allways one way to represent THE TEXT and PICTURE.. then it shouldn't be a problem... But.. if you want this script to work on EVERY page.. then.. it is another problem..