You are here: Re: to give the link « PHP Programming Language « IT news, forums, messages
Re: to give the link

Posted by Erwin Moller on 09/10/07 10:56

blessonin@gmail.com wrote:
> hai all,
> I am very new to this php language.I want to create a
> webpage with php ,in the first page there is two text boxes are there
> one for username and other for password so when ever then user should
> give the correct username and password,how should i give link to the
> next page in php.plese help me..
>

Hi,

This is typically done with sessions.
So you should start with making sure you understand the working of sessions.
A good place to start is www.php.net:

http://nl3.php.net/manual/en/ref.session.php

Pay attention to session_start() and start with making a simple page
that only tries to read/write sessionvars and try to retrieve them on
another page.

Also, great for debugging:
echo "<pre>";
print_r($_SESSION);
echo "</pre>";

(Replace $_SESSION with $_POST or $_GET or $_COOKIE to print out those
superglobals, also very handy when developing and debugging.)

Regards,
Erwin Moller

 

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

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