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

From: Date: Wed, 18 Jul 2001 03:42:12 +0000
Subject: how to include a remote file and change relative links to non-relative
Groups: php.general 
Request: Send a blank email to php-general+get-58382@lists.php.net to get a copy of this message
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 can get the remote file and make all relative links for images and such point where they should? Thanks, bubba

« previous php.general (#58382) next »