Re: [PHP-DB] HELP ME !! From: Hadinata (lisa77 <email protected>)
Date: 11/14/00

Thanks for your reply, but I don't think Header can do me
any good. Because before Header took place one must
not output any text from the php file. So the we can't put
"Thanks for download" message before the Header
statement. And we can't put it after the Header statement
also, cause everything after the Header statement will
not be executed. Any other ideas?

Joseph

----- Original Message -----
Then just redirect the user to that URL ....

Header("Location: http://www.myserver.com/files/downloadme.exe");

Siggy

----- Original Message -----
From: "Hadinata" <lisa77 <email protected>>
To: "Leonard Tambunan" <leonard <email protected>>
Cc: <php-db <email protected>>
Sent: Tuesday, November 14, 2000 10:29 PM
Subject: Re: [PHP-DB] HELP ME !!

> Thanks for your reply, but I think FTP function like ftp_get
> downloads a remote file and save it to local file at the server.
> What I need is the download file goes to the client browser.
> So the app1.php should request for another file and give it
> to the client browser (the user at the client side receive 2
> files).
>
> Joseph
> ----- Original Message -----
> From: Leonard Tambunan <leonard <email protected>>
> To: Hadinata <lisa77 <email protected>>
> Sent: Monday, November 13, 2000 11:26 PM
> Subject: Re: [PHP-DB] HELP ME !!
>
>
> >
> >
> > You can make a link in your page:
> >
> > <a href=http://your.machine/app1.php>Download</a>
> >
> > With app1.php has features like this:
> >
> > <?
> > ...
> >
> > echo "Thanks For Download";
> >
> > ...
> >
> > PHP FTP functions here;
> >
> > ...
> > ?>
> >
> >
> >
> > On Mon, 13 Nov 2000, Hadinata wrote:
> >
> > > I try to build a download feature like this:
> > > if someone click "download" he will receive a new page with this
> > > message: "Thanks for download" and his download will start
> automatically.
> > > How can I do that?
> > >
> > > TIA,
> > > Joseph