Server IP : 192.124.249.33 / Your IP : 66.248.200.33 Web Server : Apache System : Linux 141.134.66.148.host.secureserver.net 3.10.0-1160.119.1.el7.tuxcare.els6.x86_64 #1 SMP Fri Sep 13 13:42:20 UTC 2024 x86_64 User : tarangglobal ( 1001) PHP Version : 7.2.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/tarangglobal/public_html/cyber/admin/ |
Upload File : |
<!DOCTYPE html> <html lang="en"> <body> <form action="register_client_save.php" method="post" name="c_theForm"> Contact Person <input id="c_name" class="form-control" maxlength="50" name="name" placeholder="Contact Person" type="text"> Enter the contents of image <input id="c_captcha" class="form-control" maxlength="6" name="captcha" size="6" type="text" /> <img id="captchaimg2" src="captcha.php"><img id="refimg2" onclick="reload()" src="images/clear-refresh.png" style="width: 25px; margin-left: 10px;"> <input id="submit1" class="btn btn-md btn-primary" onclick="c_chk()" type="button" value="Register"> </form> <script src="js/jquery-2.js" type="text/javascript"></script> <script src="js/jquery-ui.js" type="text/javascript"></script> <script src="scripts/jquery.min.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function(){ var t=$('#typee').val(); }); function city_1(cid) { $('#cityy').val(cid); } function reload() { $('#refimg2').attr('src','images/reload.gif'); $('#captchaimg2').attr('src','captcha.php'); $('#refimg2').attr('src','images/clear-refresh.png'); } function c_chk(){ $.get("save.php", function(data){ var c_name = $('#c_name').val(); var c_captcha = $('#c_captcha').val(); if(data.trim()==c_captcha){ captach_flag=true; } else{ captach_flag=false; } if( c_name.length == 0){ err_c_name=false; alert('Please fill the name field'); return false; } else if( c_name.length<2){ err_c_name=false; } else{ err_c_name=true; } if( c_captcha.length == 0){ err_cap_c=false; alert('Captcha must be filled'); return false; } else if(data.trim()!=c_captcha) { err_cap_c=false; alert('Captcha mismatch'); return false; } else{ if (captach_flag) err_cap_c=true; } if(err_c_name && captach_flag){ alert('Submit'); document.c_theForm.submit(); } return false; }); } </script> </body> </html>Private