You are here: Re: Save file as attachment « PHP Programming Language « IT news, forums, messages
Re: Save file as attachment

Posted by Jeff on 03/27/07 21:22

If the link that sends the user to the page with your PHP code on it
has the target as a new window (i.e <a href="download.php"
target="_blank">) then the new window will open and you will see the
dialog box in front of a empty window (i.e the white you are seeing).

If you make the link stay within the same browser window (i.e <a
href="download.php"> with no target) then it should just open the
dialog box with the current browser window in the background.

It is because you are not sending new HTML for the current browser
window so it has no information for updating so it stays the same.

I think that is what you were looking for but if not then please
clarify a little more.

Jeff

 

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

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