Using phpcURL (libcurl) how can I download ONLY the images from a URL?

Found the function that does what I wanted, so I am sharing: function download_images_for_page($target) { echo "target = $target\n"; # Download the web page $web_page = http_get($target, $referer=""); # Update the target in case there was a redirection $target = $web_page'STATUS''url'; # Strip file name off target for use as page base $page_base=get_base_page_address($target); # Identify the directory where iamges are to be saved $save_image_directory = "saved_images_". Str_replace("", "", $page_base); # Parse the image tags $img_tag_array = parse_array($web_page'FILE', ""); if(count($img_tag_array)==0) { echo "No images found at $target\n"; exit; } # Echo the image source attribute from each image tag for($xx=0; $xx.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions