You are here: Re: how to download a file?? « PHP Programming Language « IT news, forums, messages
Re: how to download a file??

Posted by Geoff Berrow on 09/28/89 11:18

I noticed that Message-ID:
<1118503366.200246.157530@f14g2000cwb.googlegroups.com> from
thamood@gmail.com contained the following:

>
>"http://www.myhomepage.com/getfile.php?id=132"
>
>the idea is to optain the id through the "$_GET" and then get the path
>of the file from the DB ...but then what?the "header()" function wont
>work unless its the 1st function to be called so i cant query the DB
>for the file path then call it!!


Yes you can. Just make sure you don't out put any html before you call
it
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/

 

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

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