index.php - 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 index.php.php

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <title>FB Seamless Integration</title>
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
  7. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
  8. <script src="./molpay_facebook_seamless.js"></script>
  9. <script src="https://www.onlinepayment.com.my/MOLPay/API/seamless/latest/js/MOLPay_seamless.deco.js"></script>
  10. </head>
  11. <body>
  12. <div class="container-fluid">
  13.   <div class="row">
  14.           <div class="col-md-offset-3 col-md-6">
  15.                  
  16.           </div>
  17.           <div class="col-md-offset-3 col-md-6" id="molpay_btn">
  18.                 <!--<button type="button" id="myPay" class="btn btn-primary btn-lg" data-toggle="molpayseamless" data-mpsmerchantid="molpaymerchant" data-mpschannel="maybank2u" data-mpsamount="1.20" data-mpsorderid="TEST1139669863" data-mpsbill_name="" >Pay by Maybank2u</button>-->
  19.           </div>
  20.   </div>
  21. </div>
  22. </body>
  23. </html>
  24.  
File Description
  • index.php
  • PHP Code
  • 06 Mar-2024
  • 993 Bytes
You can Share it: