Re: [PHP] Re: reg-ex again

2002-04-29 Thread John Fishworld
No the problem is I'm reading a file into an array and then need to change any of the links in the file from relative links to absolute links ! So that my lg_mode.gif gets the full server path in front of it http://www.ltest.com/lg_mode.gif and exactly the same with the other one but of course I

Re: [PHP] Re: reg-ex again

2002-04-29 Thread Jason Wong
On Monday 29 April 2002 17:10, John Fishworld wrote: No the problem is I'm reading a file into an array and then need to change any of the links in the file from relative links to absolute links ! So that my lg_mode.gif gets the full server path in front of it

Re: [PHP] Re: reg-ex again

2002-04-29 Thread John Fishworld
Sorry don't think I've explained this very clearly ! :-)) Start again People can enter a url with code in, this gets copied to a different server and read as an array ! At this point, the original server path needs to be added to the links in the copied file. The basics of this do actually