You are here: Re: how to not display the intermediate page. « All PHP « IT news, forums, messages
Re: how to not display the intermediate page.

Posted by Ehsan on 04/16/06 13:15

Well as you have page B included in page A, eventually from page U you
are coming to page A, which does the processing of submitting form
(which is basically the functionality of page B). So you are not going
into page B, you are going into page A from U and have B included with
A to submit the form. As a result you will surely see Page A with empty
page, which will submit the form, process data and come back to A to
show the content.

If you stick to the scenario, then there is no way you can get rid of
this. You will have stick to the empty page showing up. You could also
use header to redirect the user to B, submit form which comes back to
A.

You place a check at the top of A, which will redirect the user to B as
soon as it matches.

if (user coming from page U)
header("Location: page B?name=value&name1=value1");

Hope this helps.

Thanks and God Bless!!


Ehsan
http://ehsan.bdwebwork.com

 

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

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