You are here: Re: Question from PHP newbie « PHP Language « IT news, forums, messages
Re: Question from PHP newbie

Posted by Geoff Berrow on 11/27/05 19:06

Message-ID: <dmcoap$3rl$1@newsg3.svr.pol.co.uk> from Johny contained the
following:

>
>Can anybody shed any light on how I can do this, perhaps I'm barking up the
>wrong tree and I don't actually need a php file.

Well you could simply rename the file to be downloaded to match your
link. But if you want to have a download.php file then it can contain
something as simple as this:

<?php
header("Location: http:www.example.com/myfiletodownload.zip")
?>

The just change the contents of the file when the download file changes.

--
Geoff Berrow 0110001001101100010000000110
001101101011011001000110111101100111001011
100110001101101111001011100111010101101011

 

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

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