You are here: starting a download within php « PHP Language « IT news, forums, messages
starting a download within php

Posted by toedipper on 11/03/20 11:18

Hello,

I want users to be able to download files on my website. The files will
not be located on my site but on some other domain.

I also want to be able to register the download first and then start it
to the user.

I imagine I would have a hyperlink on a page saying 'download here'
This in turn would pass an id number to a page called download.php so
the hyperlink would be "blah blah blah download.php?id=1234" etc.

The download.php would also insert the date and time of the download
into a my sql db.

I can get this far myself but I am stuck now as how to actually then
start the download once I've logged it.

Any ideas?

Thanks,

td.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация