Ask a Question related to PHP Development, Design and Development.
-
Dag Eilertsen #1
Updating MySQL record
Hi!
I'm heaving a small problem updating a record containing an encrypted
password. I'm using aes_encrypt.
This is my suggestion for the query (that obviously doesn't work very well):
$sql_update = "UPDATE $Tabell SET
fornavn = \"$for_navn\",
etternavn = \"$etter_navn\",
brukernavn = \"$bruker_navn\",
passord = aes_encrypt(\"$pass_ord\")
WHERE brukerid=\"$id\"";
Can anybody help me with a query that will work?
Tnx
Dag Eilertsen
Dag Eilertsen Guest
-
MySQL datetime record not updating with DW toolbox
Hello just upgraded DW8 to CS3 and added DW Dev Toolbox extensions. Using registration wizard am unable to store a value for MySQL datatype... -
Updating record remotely from a script?
I have a MySQL database on my ISP's Linux server. Can anyone tell me if it would be possible to update a specific record remotely without any user... -
Problems when updating record
I am having a problem with the following code with mySQL. I normally write with Access and do not get this problem, is there something that I am... -
Updating a NEW record
ASP/Access Say a user creates a new record and needs to complete multiple forms, on multiple pages.... How do you submit the data to each page... -
Question about Updating a record
Ok, here's what we can assume: <cfset update = "ALIAS = 'Gruu'"> <cfset id = '999'> Here's the simplified query: <cfquery name="angryquery"... -
Alvaro G Vicario #2
Re: Updating MySQL record
*** Dag Eilertsen wrote/escribió (Mon, 30 Aug 2004 04:56:24 +0200):
Have you checked whether AES_ENCRYPT() works in your MySQL server?> I'm heaving a small problem updating a record containing an encrypted
> password. I'm using aes_encrypt.
"AES_ENCRYPT() and AES_DECRYPT() were added in MySQL 4.0.2, and can be
considered the most cryptographically secure encryption functions currently
available in MySQL."
--
-- Álvaro G. Vicario - Burgos, Spain
-- Questions sent to my mailbox will be billed ;-)
--
Alvaro G Vicario Guest
-
Virgil Green #3
Re: Updating MySQL record
"Dag Eilertsen" <dag.erik.eilertsen@broadpark.no> wrote in message
news:41329855$1@news.broadpark.no...well):> Hi!
> I'm heaving a small problem updating a record containing an encrypted
> password. I'm using aes_encrypt.
>
> This is my suggestion for the query (that obviously doesn't work very
It's far from obvious to me.
In what way did this one fail?> $sql_update = "UPDATE $Tabell SET
> fornavn = \"$for_navn\",
> etternavn = \"$etter_navn\",
> brukernavn = \"$bruker_navn\",
> passord = aes_encrypt(\"$pass_ord\")
> WHERE brukerid=\"$id\"";
>
> Can anybody help me with a query that will work?
- Virgil
Virgil Green Guest



Reply With Quote

