RE: [PHP-DB] HELP ME !!

From: Date: Tue, 14 Nov 2000 15:27:26 +0000
Subject: RE: [PHP-DB] HELP ME !!
Groups: php.db 
Request: Send a blank email to php-db+get-4424@lists.php.net to get a copy of this message
Try putting this into your code after passing the url to the file as the variable "filename" <meta http-equiv="Refresh" content="5; URL=<? echo $filename; ?>"> M > ---------- > From: Hadinata[SMTP:lisa77@mitra.net.id] > Sent: 14 November 2000 14:52 > To: antiphobo@paradise.net.nz > Cc: php-db@lists.php.net > Subject: Re: [PHP-DB] HELP ME !! > > 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@mitra.net.id> > To: "Leonard Tambunan" <leonard@ins.itb.ac.id> > Cc: <php-db@lists.php.net> > 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@ins.itb.ac.id> > > To: Hadinata <lisa77@mitra.net.id> > > 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 > >

« previous php.db (#4424) next »