Skip to content

Instantly share code, notes, and snippets.

@scottrobertson
Created January 3, 2014 22:34
Show Gist options
  • Save scottrobertson/8248000 to your computer and use it in GitHub Desktop.
Save scottrobertson/8248000 to your computer and use it in GitHub Desktop.
  • The file is hosted on a remote server, the user cannot know this URL.
  • Need to perform validation on the URL in PHP
  • File needs to be served without downloading to PHP and serving again (they can be ~1gb files)
  • Right now, its served via secure_link in Nginx, but i need to be able to do more checks on the download links.
@mattkirwan
Copy link

When you say "File needs to be served" [to PHP?]...what 'validation' are you running against a file? the contents?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment