php-windows Digest 24 Sep 2005 00:41:51 -0000 Issue 2782

Topics (messages 26372 through 26373):

Re: Calling MSSQL Stored Procedure
        26372 by: Alf Stockton

Login System / Cookies
        26373 by: Armando

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [email protected]


----------------------------------------------------------------------
--- Begin Message ---
Robert Twitty wrote:

The ODBTP package includes 2 versions of php_odbtp.dll.  One for PHP4 and
the other for PHP5.  You need to place the correct php_odbtp.dll file in
the same directory where php_mssql.dll and the other extensions are
located.  For PHP4, this should be php\extensions, and php\ext for PHP5.
You then need to place the follwwing entry into the php.ini file:

extension=php_odbtp.dll

Place it in the same section where the "extension=php_mssql.dll" entry is
located.

We, you and I, have now also got the stored procedure call working. Next step is to make it pretty

--

Regards,
Alf Stockton            www.stockton.co.za

You have an unusual magnetic personality.  Don't walk too close to
metal objects which are not fastened down.

My email disclaimer is available at www.stockton.co.za/disclaimer.html

--- End Message ---
--- Begin Message ---
Greetings!

I'm developing a login system in php and wondering if someone could possibly provide some advice, as I'm still relatively new to php.

First, I'm limited to using cookies only for my session variables, so for instance, remembering users who wish to not have to login to the site each time they visit. I obviously don't want to put the user's login information in the cookie in plain text, so I was thinking perhaps that I'd use md5 hashed values instead. So in the database I'd have 4 fields for the user information, ie; username, username_md5, password, password_md5. Does this make any sense, or is there some other better way?

Also, I've ready about using session ID's.. for instance, how they are used in the phpBB forum. Would it be better to use them? I don't quite understand the purpose for it, but if someone could expain it, it would be greatly appreciated. Thanks in advance!

Best Regards,

Armando

--- End Message ---

Reply via email to