[PHP] how to include a remote file and change relative links to non-relative

2001-07-17 Thread Brett
I am trying to create a page that will get a remote file and email it to me. All works fine using several different methods (include,file,fread) only relative links for images and links get my server address instead of the actual address the images should be retrieved from. Is there a way I

Re: [PHP] how to include a remote file and change relative links to non-relative

2001-07-17 Thread Aral Balkan
I've been working on Hans Anderson's Browser class and I've adapted it to do what you're looking for. It's not complete but there should be a lot here for you to go on. Again, I haven't had time to fine tune things at all so it's a very rough hack right now. Hope it helps. The dirty on how to