My first Greasemonkey script

Ok. My first Greasemonkey script is available from userscripts.org (http://userscripts-mirror.org/scripts/show/9740) I have been using Greasemonkey for more than a year. Recently I downloaded 2 userscript, GMail superclean and Gmail air, which inspired me to write a script.

Read more...




HSBC.php

<?php /** * @desc Class to process payment using HSBC gateway * This class will return orderhash * 18-Dec-2006 */ class HSBC{ var $storeFrontId; var $hashFilePath; var $CPIhash; var $orderHash; /** * @desc initialize configuration arguements.

Read more...


function.php

<?php /** * @desc Function to print variable for debugging */ function printPre($data, $extended=false) { echo "<pre>"; if($extended) { var_dump($data); } else { print_r($data); } echo "</pre>"; } ?

Read more...


hsbc_return.php

    <?php
       
        require_once "function.php";
        require_once "HSBC.php";
        printPre($_POST);
       
        $h1 = new HSBC();
        echo $h1->error($_POST['CpiResultsCode']);
    ?>

Hi all

This is my first Blog Post. I’ll Update this blog with useful info[ hope so:) ]