[2023-01-23] 4images 1.10 released
0 Members and 1 Guest are viewing this topic.
if (($sicherheit_code == "") || ($sicherheit_code != str_replace('´|´', '=', base64_decode(base64_decode($sicherheit_dec))) )) { $msg .= (($msg != "") ? "<br />" : "").$lang['secure_required']; $error = 1; }
if ($comment_user_name == "") {
For instance, does this block :Quote/* ## Safety script ## */mt_srand((double)microtime()*1000000);$comment_sicherheit = mt_rand(000001,999999);$comment_sicherheit = str_replace('=', '´|´', base64_encode(base64_encode($comment_sicherheit)));/* ## Safety script ## */also prevents the usage of random image IDs over the URL bar ?
/* ## Safety script ## */mt_srand((double)microtime()*1000000);$comment_sicherheit = mt_rand(000001,999999);$comment_sicherheit = str_replace('=', '´|´', base64_encode(base64_encode($comment_sicherheit)));/* ## Safety script ## */
No, it doesn't. It only encodes the image ID and sends it into a variable.
I don´t have install this mod, but I will do it!I also need this for my guestbook too, please help!
if ($comment_user_name == "") { $msg .= (($msg != "") ? "<br />" : "").$lang['name_required']; $error = 1; }
Installed the script but it keeps saying that the security code was inputted wrong. I have GD installed...is there anything I missed?