Reply to Re: How To: upon button click 1. load new page and 2. download file

Your name:

Reply:


Posted by Jerry Stuckle on 08/24/07 00:18

sven.seuken@gmail.com wrote:
> Hello everybody,
>
> I need the following functionality for my webpage and don't know how
> to realize it:
>
> When the user clicks the "download button" on my page, a new webpage
> shall load (saying something like "thank you for the download...") and
> at the same time, a file download dialogue shall open. It does not
> matter in which order this happens ,i.e. whether the new webpage loads
> after the user has saved the file somewhere or whether first the new
> webpage loads and then the file download dialogue opens, though the
> second option would be preferred.
>
> I have tried many different ways, but none worked for me.
> Any help appreciated.
>
> Thanks,
> Sven.
>

I agree with Michael you shouldn't do it. But if you insist, you can't
do it from PHP. Try a javascript newsgroup.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original 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

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