You are here: Re: Time() problem « PHP Language « IT news, forums, messages
Re: Time() problem

Posted by Daedalus.OS on 05/27/05 15:12

> Hmmm. How about redirecting the user to a sign up page?

Well this would mean that visitors will not be able to enter this page
without registering, as they'll be redirected to your sign up page unless
they are already registered. If it is what you want then the header()
function is what you are looking for:

header("Location: http://www.url.com/page.php");
See the man page for more details http://ca3.php.net/header

Anyway if you rely only on cookies to see if a user is already registered, I
would suggest you to redirect you user to a login/sign up page, so if a user
delete his cookies he will still be able to get in.

Dae

 

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

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