By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,967 Members | 1,687 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,967 IT Pros & Developers. It's quick & easy.

crypt function

P: n/a
Raj
Hi,

What mysql datatype do I need to use for:

a) crypt on PHP
b) crypt on on mysql

Thanks in advance,

Raj
Jul 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
varchar

Savut
http://www.savut.com

"Raj" <ra*@nospam.com> wrote in message
news:6a********************************@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


Jul 17 '05 #2

P: n/a
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" <we***@hotmail.com> wrote:
varchar

Savut
http://www.savut.com

"Raj" <ra*@nospam.com> wrote in message
news:6a********************************@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


Jul 17 '05 #3

P: n/a
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" <ra*@nospam.com> wrote in message
news:oj********************************@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" <we***@hotmail.com> wrote:
varchar

Savut
http://www.savut.com

"Raj" <ra*@nospam.com> wrote in message
news:6a********************************@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


Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.