Hi, I have a script that generates and sends an email to a user. In this email, I want a generated link for the user to be able to click on and download a file. Here is my problem, my server doesn't allow files over 2MB to be hosted so the files are actually stored on a diferent server on the internet which is a "file hosting server" only, but the email php script is on my server. Here is what I mean:
Example 1: www.mysite.com
Example 2: www.hosted_file_site.com/filename.zip
So what I need is some code that I can add to my email script that will generate the download link while protecting the file's actual location and it's host location. Since I am very, very new at php could you please show me some code to do this with, please?