Jump to content

md5 encoding


cs1h

Recommended Posts

I can't think of an automated way. What i can suggest is using a similar script:

 

<?php
$results = mysql_query("SELECT id, code FROM table");
while($values = mysql_fetch_array($results)){
     $code = md5($values['code']);
     $id = $values['id'];
     $resultsUpdate = mysql_query("UPDATE table SET code='$code' WHERE id=$id");
}
?>

Link to comment
https://forums.phpfreaks.com/topic/120509-md5-encoding/#findComment-620977
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.