You are here: Re: Changing pages: header('location') or PHP require()? « PHP Programming Language « IT news, forums, messages
Re: Changing pages: header('location') or PHP require()?

Posted by Toby A Inkster on 05/30/07 10:53

lister wrote:

> Currently I:
> 1) Process any user submitted data in the current page
> 2) Send a header('location') redirect to the browser, which then
> requests the new page.

This is the best option as it discourages reloads. (e.g. browser F5 key.)

--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.12-12mdksmp, up 95 days, 18:37.]

Non-Intuitive Surnames
http://tobyinkster.co.uk/blog/2007/05/25/non-intuitive-surnames/

 

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

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