RE: [PHP-DB] HELP ME !!

From: Date: Tue, 14 Nov 2000 15:28:36 +0000
Subject: RE: [PHP-DB] HELP ME !!
Groups: php.db 
Request: Send a blank email to php-db+get-4425@lists.php.net to get a copy of this message
Apologies... inside the HTML of the page, code is a bit vague and even so HTML is arguably not code. M > ---------- > From: Galvin, Max[SMTP:m.galvin@centralservices.co.uk] > Sent: 14 November 2000 15:27 > To: php-db@lists.php.net > Subject: RE: [PHP-DB] HELP ME !! > > 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 > > > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.db (#4425) next »