| Download portal Newbie question. . .
Here's what I want to do: I have a set of files I want to made available for download, but I want to prevent direct linking to them by forcing a query to go through a "gatekeeper", some php file that checks to make sure the request is valid and from my site. While I can do the checking no problem, I'm trying to figure out how to initiate the download without actually making the files available via HTTP (somehow hiding the URL would work, although I'd prefer to use a .htaccess to restrict access to only localhost). I could do this with JSP, but I'm not familar enough with PHP functions; is there some way to push out a file in PHP? |