Home > Archive > PHP Programming > June 2004 > crypt function
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
| Hi,
What mysql datatype do I need to use for:
a) crypt on PHP
b) crypt on on mysql
Thanks in advance,
Raj
| |
|
| varchar
Savut
http://www.savut.com
"Raj" <raj@nospam.com> wrote in message
news:6an2e05jdq5corn68rj0j5i4ouq8t0pg9v@
4ax.com...
> Hi,
>
> What mysql datatype do I need to use for:
>
> a) crypt on PHP
> b) crypt on on mysql
>
> Thanks in advance,
>
> Raj
| |
|
| Yep,
but varchar(1), varchar(100), ... ?
Does it depend on something and if so what?
Raj
On Tue, 29 Jun 2004 14:34:34 -0400, "Savut" <webki@hotmail.com> wrote:
[color=darkred]
>varchar
>
>Savut
>http://www.savut.com
>
>"Raj" <raj@nospam.com> wrote in message
> news:6an2e05jdq5corn68rj0j5i4ouq8t0pg9v@
4ax.com...
| |
|
| It depend on what encryption crypt use, and this depend on the system php is
running on and what is available. Just use crypt and echo the length of the
hashed string.
Savut
http://www.savut.com
"Raj" <raj@nospam.com> wrote in message
news:ojp3e09254johk7f8ebl19frqe36htmjci@
4ax.com...
> Yep,
>
> but varchar(1), varchar(100), ... ?
>
> Does it depend on something and if so what?
>
> Raj
>
> On Tue, 29 Jun 2004 14:34:34 -0400, "Savut" <webki@hotmail.com> wrote:
>
>
|
|
|
|
|