Reply to Re: [PHP] header()

Your name:

Reply:


Posted by Richard Lynch on 04/19/05 07:34

On Thu, April 14, 2005 7:54 am, Martín Marqués said:
> I'm having a bit of a problem understanding how the header() sends the
> HTTP
> headers.
>
> Here's what I want to do:
>
> 1) Send a PDF file which will be printed in the client (the client will
> read
> it and print it if he wants to.
> 2) Redirect to the main page of the aplication.

You can't really do that...

If you wanted HTML output plus a re-direct, you could use a META
HTTP-EQUIV tag for the re-direct.

But I know of nothing in a PDF that would get you a re-direct...

Actually, you could send them off to the main page, with a META HTTP-EQUIV
re-directing them to your PDF and it *might* kinda sorta work on *some*
browsers...

--
Like Music?
http://l-i-e.com/artists.htm

[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

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