PHP check upgrade access


Active member
Hey Guys!

I need some help on a small issue. I want to enable a download link such as "download.php" which will allow downloading of a EXE file if their upgrade id is valid it can be called directly. The reason for the php is, I don't want them remembering the http path and allowing further downloads if they do not have the propper upgrade. So the PHP serves up the exe which is a non-http path.

I want to make sure their subscription ID is correct within the PHP before serving up the file.

It could be secondard user group, or Subscription ID

Any Ideas?