Re: Tracking file downloads

From: Date: Tue, 18 Jun 2002 14:29:38 +0000
Subject: Re: Tracking file downloads
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-102695@lists.php.net to get a copy of this message
See my posting I just made about "How do I hide the download link ..." You'll want to use a similar method with the download.php. You may not have to check for a session, but you can use the scirpt to keep track of what file was downloaded, increment it's counter in a database, or send an email, whatever. then send the header() and file content. ---John Holmes... ----- Original Message ----- From: "PHPCoder" <internet@vsa.co.za> To: "php-general" <php-general@lists.php.net> Sent: Tuesday, June 18, 2002 7:18 AM Subject: [PHP] Tracking file downloads > Hi > I would like to know any ideas on tackling the following: > > I would like to have people give me their details via a form and then > allow them to download files from the server, and I would also like to > keep track/record of the files that are downloaded. The record doesn't > need to be kept, just e-mailed to the admin as soon as it is done and > the user exits the site. > I guess this would be the perfect example for using sessions? > Unfortunately I am not too hot on sessions, so any advise/help will be > appreciated. > > Thanks > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#102695) next »