Re: [phplib] Registration page validation problem From: Gerald Estadieu (gerald <email protected>)
Date: 07/03/00

Sanlong Irvan wrote:
>
> Hi all,
Hi,
(see below)
>
> I have try to design a website that require a registration page. Assuming here,
> that I have only 4 things to fill for registration,
>
> e.g.
>
> Login
> Email
> Password
> Re-enter password
>
> I have try to do some validation like, the password must match, login name must not
> be empty and bla bla.
>
> What I want to do is when there is some errors occured, I want to display all the
> errors and re-display what user entered previously (in other words, user doesn't have
> to fill the one that is correct already)
>
> e.g
>
> User entered
>
> Login: user
> Email: user <email protected>
> Password: 123
> Re-enter password : 124
>
> After validation display
>
> Your passwords are mismatch
>
> Login: user
> Email: user <email protected>
> Password : *
> Re-enter password : *
>
> By marking the one that user has to re-enter.
>
> I have try to think this, but seems like all my ideas not working, some problems
> like, in URL address it display the user entered password
> e.g. index.html?login=user&email=user <email protected>&pass=123&pass2=124

You should use the POST method instead of GET in your form <form
action="xxx.php3" method="post">, so it is safer (nothing appear in your
URL) and you have no limit (GET if I remember well can handle only 255
caracters).

What are your others problems exactly?

cheers,
Gerald
>
> Can anyone just give me an idea how to do it. My brain just can't think anymore.
>
> Cheers,
> Irvan
> Any help will be very appreciated.
>
> -------------------------------------------------------------
> Sign up for ICQmail at http://www.icq.com/icqmail/signup.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> For additional commands, e-mail: phplib-help <email protected>

-- 
Gerald Estadieu
Manager, Internet Product Management

Companhia de Telecomunicações de Macau S.A.R.L. Rua de Lagos, Telecentro, Taipa PO Box 868, Macau Telephone : +853 8913759 Fax : +853 8913111 Mobile : +853 6880563 email : gerald <email protected>

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>