Posts

How to Password Decrypt In PHP

Password Decrypt   <?php $str = "shuvadeep"; // echo sha1($str); $enc = base64_encode($str); echo base64_decode($enc); ?> 

Multiple File Upload PHP & Ajax Plugging

frontend <!DOCTYPE html> <html lang="en"> <head>     <meta charset="UTF-8">     <meta http-equiv="X-UA-Compatible" content="IE=edge">     <meta name="viewport" content="width=device-width, initial-scale=1.0">     <title>Document</title> </head> <body>     <form id="frm" enctype="multipart/from-data">         <input type="file" name="upload_file[]" multiple><br><br>         <button type="button" onclick="sub();">SUBMIT</button>     </form> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script> <script>     function sub(){         var upload = new FormData(frm);             console.log(upload);                 $.ajax({       ...

Single - File Upload Pluggin with Ajax & PHP

   frontend file  <!DOCTYPE html> <html lang="en"> <head>     <meta charset="UTF-8">     <meta http-equiv="X-UA-Compatible" content="IE=edge">     <meta name="viewport" content="width=device-width, initial-scale=1.0">     <title>Document</title> </head> <body> <h2>Upload File:</h2>     <form id="up">         <input type="file" name="upload"><br><br>         <button type="button" onclick="upload_data();">UPLOAD</button>     </form>     <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>     <script>         function upload_data(){             var file = new FormData(up);                 console.log(fi...

PHP - Password Encrypt (CODE)

Image
  code: OUTPUT:

Crud Oparetion with Ajax, jQuery, PHP, JavaScript (CODE)

index.php   <!DOCTYPE html> <html lang="en"> <head>     <meta charset="UTF-8">     <meta http-equiv="X-UA-Compatible" content="IE=edge">     <meta name="viewport" content="width=device-width, initial-scale=1.0">     <title>Document</title> </head> <body>     <form id="ins" name="ins">     <input type="hidden" name="h_name" id="i_id">     <label>EMAIL :</label>     <input type="email" name="u_mail"><br><br>     <label>PASSWORD :</label>     <input type="password" name="u_pass"><br><br>     <label>MOBILE No. :</label>     <input type="text" name="u_mob"><br><br>     <button type="button" name="u_submit" onclick="data_entry();"...

Ajax Crud Oparetion (Only Insert Code "create") | PHP | Jquery | Ajax | CODE

Image
 index.php(Frontend & ajax) <!DOCTYPE html> <html lang="en"> <head>     <meta charset="UTF-8">     <meta http-equiv="X-UA-Compatible" content="IE=edge">     <meta name="viewport" content="width=device-width, initial-scale=1.0">     <title>Document</title> </head> <body>     <form id="aj">     Name :<input type="text" name="u_name">     Mobile :<input type="text" name="u_mob">     <button type="button" onclick="user_submit();">SEND</button >     <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>     <script>         function user_submit()          {             var send = new FormData(aj);             // console.log(send);   ...

Multiple File Upload in PHP

Image
Multiplefile.php(frontend)   <!DOCTYPE html> <html lang="en"> <head>     <title>Document</title> </head> <body>     <form enctype="multipart/form-data" method="POST" action="marchbackend.php">          Name :<input type="text" name="name" placeholder="text"><br>     Choose File :<input type="file" name="file[]" multiple><br>         <button type="submit" name="submit">submit</button>     </form> </body> </html> Backend file <?php //multiple file code include "connection.php"; // echo "<pre>"; // print_r ($_FILES); // echo "</pre>"; if (isset($_POST["submit"]))  {     $name = $_POST['name'];     for ($i=0; $i <count($_FILES['file']['name']);$i++)      {          move_uploaded_file($_FILES['file...