attach files by absolute url

I know @fopen() isn't clear, but I don't another simple solution for controling absolute urls.