| Posted by gosha bine on 09/22/07 08:35 
Andrew wrote:> Could I get your help with this problem?  It has got me stumped.
 >
 > I want to display and save any images from a like this one.
 > http://www.somesite/index.php?s=4e0e5ea42fec1a1c3ed=attach&type=post&id=63880
 > The challenge is that the last number increments by one.  I could just
 > edit the browsers address bar for each image but I was looking for a
 > php program.
 >
 > How can it be done?
 
 Something like
 
 for($i = 63880; $i < 77777; $i++)
 {
 $img = file_get_contents("http://www.somesite...id=$i");
 
 // do whatever you want with $img
 }
 
 
 --
 gosha bine
 
 extended php parser ~ http://code.google.com/p/pihipi
 blok ~ http://www.tagarga.com/blok
  Navigation: [Reply to this message] |