Make an IDF soldier smile this Purim.

global $wpdb;
$purim_names = $wpdb->get_results (“SELECT * FROM wp_purim_donate ORDER BY id DESC”);
$all_names =”;
foreach($purim_names as $print ){
if($print->name != ”){
$all_names .= ($print->name).’.’;

$ttlamont= 0;
$purim_result = $wpdb->get_results ( “SELECT * FROM wp_purim_donate” );
foreach ( $purim_result as $print ) {
$ttlamont = $ttlamont + ($print->amount);

$info = ‘’

$curl = curl_init(‘’);
curl_setopt($curl, CURLOPT_FAILONERROR, true);
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);

curl_setopt($curl, CURLOPT_POSTFIELDS, $info);
curl_setopt($curl, CURLOPT_HEADER, 0);
curl_setopt($curl, CURLOPT_POST, 1);

$result = curl_exec($curl);

# Bust the string up into an array by the ampersand (&)
# You could also use parse_str(), but it would most likely limit out
$result = explode(“&”, $result);

# Loop through the new array and further bust up each element by the equal sign (=)
# and then create a new array with the left side of the equal sign as the key and the right side of the equal sign as the value
foreach($result as $value){
$value = explode(“=”, $value);
$temp[$value[0]] = $value[1];

for($i=0; $i<(count($temp)/11)-1; $i++){ $returned_array[$i] = array( “timestamp” => urldecode($temp[“L_TIMESTAMP”.$i]),
“timezone” => urldecode($temp[“L_TIMEZONE”.$i]),
“type” => urldecode($temp[“L_TYPE”.$i]),
“email” => urldecode($temp[“L_EMAIL”.$i]),
“name” => urldecode($temp[“L_NAME”.$i]),
“transaction_id” => urldecode($temp[“L_TRANSACTIONID”.$i]),
“status” => urldecode($temp[“L_STATUS”.$i]),
“amt” => urldecode($temp[“L_AMT”.$i]),
“currency_code” => urldecode($temp[“L_CURRENCYCODE”.$i]),
“fee_amount” => urldecode($temp[“L_FEEAMT”.$i]),
“net_amount” => urldecode($temp[“L_NETAMT”.$i]));

$paypal_names =”;
$net_amount = 0;
foreach($returned_array as $value){
if($value[‘name’] != ”){
$paypal_names .= $value[‘name’].’.’;

if($value[‘net_amount’] != ”){
$net_amount = $value[‘net_amount’]+$net_amount;

$ttlamont = $ttlamont + $net_amount;
$ttlamont = $ttlamont/18;
$ttlamont = (int)$ttlamont;
$ttlamont = $ttlamont +5;

$percentage = ( $ttlamont /1000) * 100;
if($percentage > 100){
$percentage = 100;

Thank You To Our Donors!

Purim 2016

Purim 2017

What is the IDF Purim Project?


The IDF Purim Project is an initiative of Chayal el Chayal to unite children, teens and adults from around the world by sending Mishloach Manot (traditional Purim gift baskets) to soldiers on base across Israel.

You can put a smile on the faces of hundreds of IDF soldiers.

Make a difference.

  • donate

  • get involved

    Get Involved
  • volunteer

  • Media_icon

  • News_icon

    In the News
  • Past_icon

    Past years

What the soldiers are saying


“It really made my Chag to have snacks delivered while I was on duty.”

Josh Kurzer, London UK

“Thank you so much for sending Mishloach Manot on Purim. It really lifted the spirits of everyone in my company that was on base.”

Aaron Shakib, Miami FL

“When I saw the Mishloach Manot, I thought ‘Woah! An energy drink, soup, chocolate and so many other snacks… I can get used to this!”

Asher Meisels, Toronto CA

“Thank you so much for the Mishloach Manot. It’s so nice to know people are thinking about us from so far away.”

Astrid Cortez, Chandler AZ

“It made spending Purim on base so much easier.”

Zevi Sufrin, Brooklyn NY

“Thank you so much for making me feel that it was Purim. Without you it would have just been like any other day of the week.”

Zalmy Plotke, Los Angeles CA

“It really shows that people care about us and give support for what we do. It means a lot to me, thank you!”

Isaac Burnhart, Chicago IL

“I felt like my parents came to visit me, you don’t understand how excited I was… My Mifaked [commander] started yelling at me but I didn’t care!”

Jonathan Chaim, Queens NY


fb_icon cec_icon yt_icon

© Copyright 2011 – The IDF Purim Project – ALL RIGHTS RESERVED.

Chayal el Chayal | The IDF Lone Soldiers’ Home Away From Home