RE: [PHP-WIN] insert md5 password

2006-09-29 Thread SMITHT
mssql_get_last_message(), or if that doesn't return anything useful, try this code from a PHP manual user note: function get_sql_error ($con) { $sql= "select @@ERROR as code"; $result = mssql_query($sql, $con); $row= mssql_fetch_array($result); $code = $row

RE: [PHP-WIN] insert md5 password

2006-09-29 Thread SMITHT
INSERT INTO Users (FirstName, LastName, Usrname, Passwrd, AccessLevel, last_login, UserID) VALUES ("Alf", "Stockton", "alf", "0xd8cc7e40d17aaefd27cd324f7ba91079", 9, "2006/09/29 12:05:23", 0) Put the hashed password in as a string. Tom -Original Message- From: Alf Stockton [mailto:[EMAIL

RE: [PHP-WIN] A problem writting to a file

2006-09-20 Thread SMITHT
fputs($this->fileID,"\n"); Note the "", instead of ''. Tom -Original Message- From: German Piqué [mailto:[EMAIL PROTECTED] Sent: 20 September 2006 09:37 To: php-windows Subject: [PHP-WIN] A problem writting to a file Well... I am making a class that realizes the efects of a logging sys