Generation

fix invalid codeSun, 16 Apr 2023

<?php session_start(); $pass='password'; $adm=0; $adm==1 if((isset($_POST['slovo'])||isset($_POST['sekret']))||($_SESSION['sekret']==md5($pass))){ if (($_POST['slovo']==$pass)||($_SESSION['sekret']==md5($pass))){ $_SESSION['sekret']=md5($pass); $adm=1; }; } else { echo(' <input type=submit name="save" value="Войти в систему" style="width: 340px; background: linear-gradient(#FB9575, #F45A38 48%, #EA1502 52%, #F02F17); color: white; width: 505px; margin-top: 5px; font-size: 16px; display: block; height: 37px; line-height: 25px; text-decoration: none; cursor: pointer; border-radius: 5px; box-shadow: 0px 0px 15px #eee; letter-spacing: 0.5px; vertical-align: middle; text-align: center; text-decoration: none; text-shadow: 0 -1px 1px #777; border: 2px solid #F64C2B; border-radius: 5px; box-shadow: 0 0 0 60px rgba(0,0,0,0) inset, .1em .1em .2em #800;"> </form></center></body></html>'); };

fix invalid code: def add(a, b): return a + b

Questions about programming?Chat with your personal AI assistant