Re: Views on e-commerce download tracking
| From: | Barry | Date: | Mon, 15 May 2006 12:22:00 +0000 |
| Subject: | Re: Views on e-commerce download tracking | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-236187@lists.php.net to get a copy of this message | ||
Chris Grigor schrieb:
Hey all Was just wondering what others have used on there e-commerce sites to manage digital downloads, for instance how to track if a user succesfully downloaded a complete file from you (what happens if there connection drops halfway through a download)???? Is there something in php / javascript that could do this - javascript:oncomplete_ofdownloadfile send response to server Anyone have any ideas? Your views / suggestions are appreciated. Chris Well checking the logs is very useful for that.(talking about the apache / webserverlogs) I don't know any javascript doing something like that. You can buffer the file to the client via fread or such and buffer only a few chunks and let php wait till he downloaded it. On sucessfull download you might add a db entry or whatever. Something like that though. -- Smileys rule (cX.x)C --o(^_^o) Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)