Re: [PHP] Changing URLs from Relative to Absolute

2007-07-30 Thread Richard Heyes
I was recently trying to write a script where a user copy and pastes their HTML code to display something on a listings site and tried to find a way to change the URL of an image from relative to absolute. For example becomes http://domain.com/images/1.jpg";>. That is easy enough and I created a

[PHP] Changing URLs from Relative to Absolute

2007-07-30 Thread Tom Chubb
Dear list, I was recently trying to write a script where a user copy and pastes their HTML code to display something on a listings site and tried to find a way to change the URL of an image from relative to absolute. For example becomes http://domain.com/images/1.jpg";>. That is easy enough and I