SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict Dzi's Avatar
    Join Date
    May 2004
    Location
    Croatia
    Posts
    227
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how to mask download server

    How can I in php mask server from which file is being download

    For example: I whant to show www.page.com not www.page2.com
    DOWNLOAD.HR - Windows Download Portal

  2. #2
    An average geek earl-grey's Avatar
    Join Date
    Mar 2005
    Location
    Ukraine
    Posts
    1,403
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Create a download.php file on www.page.com:
    PHP Code:
    readfile('http://www.page2.com/file.txt'); 


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •