game.onenall.com,play free game online game.onenall.com,play free game online game.onenall.com,play free game online game.onenall.com,play free game online game.onenall.com,play free game online game.onenall.com,play free game online game.onenall.com,play free game online game.onenall.com,play free game online

I just downloaded the @iamtrav…

I just downloaded the @iamtravisporter #ProudToBeAProblem mixtape. GET YOURS HERE http://bit.ly/proudtobeaproblem

RT @oneanallsms bouquet of lov…

RT @oneanallsms bouquet of love -Anniversary SMS http://bit.ly/9OXRS7

GreenField Racergame,games,car…





GreenField Racergame,games,car games,bike games,racing games,3d games, free games,2d games,play fr.. http://bit.ly/9M2ZS4

RT @oneanallsms Bret Michaels …





RT @oneanallsms Bret Michaels – Story of My Life http://bit.ly/9bLYS5

get random value and key from array uisng php





get random value and key from array uisng php

I have written a function to get the set of random key and value from the array.

function random_array_element(&$a){
mt_srand((double)microtime()*1000000);
// get all array keys:
$k = array_keys($a);
//print_r($k);
// find a random array key:
$r = mt_rand(0, count($k)-1);
$rk = $k[$r];
// return the random key (if exists):
$Value = isset($a[$rk]) ? $a[$rk] : ”;
if(!empty($Value))
{
$kevalueSet = “$rk:$Value”;
return $kevalueSet;
}
else
{
//call the same function or echo
}
}

it will return Key and value set randomly from array like

135:http://humboldt.craigslist.org

so you can explode the above value an get the Array Key and Respective value randomly using php

thanks

Payment Gateway Integrate – Plimus



Payment Gateway Integrate – Plimus

To integrate Plimus first we need to create an account. using our account we can create products and contract in the products. we can define number of contract in a single product.

You can define products and contract either of recurring type or of non-recurring type too.

Here is a Sample code to integrate plimus as payment gateway either for one time payment or for Recurring payment.

<form id=”form1″ action=”https://sandbox.plimus.com/jsp/buynow.jsp” method=”post”>
<div>
<input type=”hidden” name=”contractId” value=”2114108″ />
<input type=”hidden” name=”quantity” value=”1″ />
<input type=”hidden” name=”overridePrice” value=”20″ />
<input type=”hidden” name=”custom1″ value=”1001″ />
<input type=”hidden” name=”enableCustom” value=”Y” />
<input type=”hidden” name=”firstName” value=”Lakhan” />
<input type=”hidden” name=”lastName” value=”Pal” />
<input type=”hidden” name=”email” value=”lakhangarg@gmail.com” />
<input type=”hidden” name=”address1″ value=”6252 NW 65 Terrace” />
<input type=”hidden” name=”address2″ value=”Test Course” />
<input type=”hidden” name=”city” value=”Parkland” />
<input type=”hidden” name=”zipCode” value=”33067″ />
<input type=”hidden” name=”country” value=”us” />
<input type=”hidden” name=”state” value=”FL” />
<input type=”hidden” name=”workPhone” value=”1-858-350-7473″ />
<input type=”hidden” name=”cardNumber” value=”4111111111111111″ />
<input type=”hidden” name=”verifyCardCode” value=”411″ />
<input type=”hidden” name=”bCur” value=”USD” />
<input type=”hidden” name=”currency” value=”USD” />
<input type=”submit” id=”btnSubmit” name=”btnSubmit” value=”Plimus – Pay Now”/>
</div>
</form>

in the above sample custom1 defined as the custom variable we can define maximum five custom variable from the plimus site for each contract. on the contract detail page there is a link custom field to define custom variables.

Learn more about Pyament Gateway Integrate – Plimus

The return variable from Plimus payment gateway. The list of return variable you can get from : Return variables from the Plimus – Payment Gateway Integration

IPN Code Sample – PHP Version of Plimus Payment Gateway Integration

Thanks

mrphpguru




RT @tweetmeme Dr. Martin Henry…

RT @tweetmeme Dr. Martin Henry Fischer – Quotes of the Day – Modern Drugs | directory of love sms,.. http://bit.ly/asnDgX

RT @oneanallsms 18 Similaritie…





RT @oneanallsms 18 Similarities Between Women and Computers http://bit.ly/bFaMAX

RT @oneanallsms “It’s easier…

RT @oneanallsms “It’s easier to leap if you’re already dancing.” – Rain Bojangles http://bit.ly/byy5VO

Uploading Files with Progress Bar using jQuery & MooTools

Uploading Files with Progress Bar using jQuery & MooTools

uploadify-jquery-plugin

Uploadify is a JQuery Plugin that allows you to easily upload multiple files on your site without needing to reload the page. The script requires Flash and any backend development language. A progress bar is shown while uploading the file(s). The plugin can be used in a number of applications and commercial products.

mootools-fancy-upload
FancyUploader is a MooTools file-input replacement script which features an unobtrusive, multiple-file selection menu and queued menu with an animated progress bar. It’s easy to integrate, being server independent & completely customizable via CSS and XHTML.

jquploader
JqUploader works as a substituter for the classical HTML file input fields. It uses Flash and shows a progress bar while the file is uploaded.