On Tuesday 30 April 2002 19:17, John Fishworld wrote: > Okay right I'm experimenting with an i-mode parser ! > I copy the file (url entered) to a local location ! > Then read through the whole file line at a time and change/replace the > things that need replaceing ! > On of the things that I need to replace is the links to the pictures so > that they still show even ! > I've already got from the original file the original location > http://www.whatever.com > and now want to insert that in front of the gif files > ie > $imode_code[$i] = eregi_replace("(<img src=).+\.gif\"" , > "\\1$next_path\\2",$imode_code[$i]); > > There are just gif files in this ! > > Does that make more sense ?
Unfortunately, no. Could you post say 20 lines of this file you're talking about. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* You are in a maze of little twisting passages, all different. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php