View Single Post
Old 08-08-2004, 09:56 AM  
acctman
Confirmed User
 
Join Date: Oct 2003
Location: Atlanta
Posts: 2,840
PHP Expert needed

hi can anyone point me in the right direction as to how i can code the following in php

1. open a text file... scan and look for a link/string that starts with the following "<http://images.domain.com//myImages/" (random characters in between) and ends with an ">" so basically find

"<http://images.domain.com//myImages/qwerty.jpg?223423&ID=userJoE>" and
strip it down to "http://images.domain.com//myImages/qwerty.jpg?223423&ID=userJoE"

then download that image to a folder. I can do this with no problem using VC.net or VB.net but does anyone have an idea as to how it's done in php?

i probably can figure out the parsing part but the image download not sure how to do that. but any help will be greatful.
acctman is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote