Instant Coffee Bundt Cake

Instant Coffee cafe

Was looking for a simple instant coffee cake recipe and after reading few here and there, zeroed on this one from NestlĂ©. But as usual did not had many things at home and being a weekend decided to go with what ever  had and make a simple sponge cake with coffee flavor. Very surprised how simple and tasty it came out being a coffee lover would try it again :) 

Had a disastrous start when mixed baking powder and baking soda in the wet mix of butter and sugar. And at the end thought would put at-least few raisins in the middle but that too I forgot as you see them in the picture on the top layer.

But the best is when things goes right it goes RIGHT :) with all that the cake came out very perfect I wish had a picture from just out of oven , these are  pictures after cutting the cake. 

So here is my poor man recipe if you want to give a try.


  • 2 1/4 cups all-purpose flour
  • 1 tablespoon baking powder
  • 3/4 teaspoon baking soda
  • 3/4 teaspoon salt
  • 1 1/4 cups granulated sugar
  • 3/4 cup unsalted butter
  • 3 large eggs
  • 2 teaspoons NESCAFÉ instant Coffee
  • 1 cup milk ( warmed the milk and add the instant coffee and let it cool before mixing)
  • 1 teaspoons of vanilla 

Please ensure the oven is preheated enough with 20-25 minutes of heating time to get best result from oven.

Indian Mobile scene and future ....

As you know the growth of mobile is one of BIG discussion point of any technology seminar or talk show you attend today. Everybody already predicting more and more people will use mobile to access internet/information/e-commerce compared to traditional desktop or laptop. And in a country like India there will be lots of users who will be "on-line" for the first time  and they will directly use a smart phone bypassing key-board and mice altogether, in numbers they might be larger than some European country.

Till date good mobile  phones used to cost an arm & leg. And if you like Apple it still does in India as we have to buy the device upfront. But  things are changing and changing fast. Starting with Moto-G we are now seeing great phones (only androids) coming to Indian market for $15K INR ( $250) . And now with Asus, Xiaomi coming it looks every one is going to feel the pinch where people are very sensitive to price  but looks for best ROI. News channel reported Asus sold 40K ZenPhone phone in 4 days.

It may be a great time for on-line retailers like Amazon, Myntra, Flipkart who are seeing high  growth in this country. I am sure the outcome  will be unknown may be at last we will have more non-cash transaction in India.  Any one having the crystal ball Still I recollect those hotted discussion had with my friends  about 1Mp and 2 MP digital camera and we never though companies like Kodak will be out of business  today and we will have 20MP camera in our phone.

Any company needs to have offering in HTML5 or native android to achieve significant market share of new and upcoming mobile users in these part of Asia. I know iPhone5 sold 20% more than the last one but the number we are taking here is huge. And HTML5 and hybrid model is better as every Android has different screen size.

DRHM Chennai 2014

Enough is enough I said to myself before I started to write down my experience with 2014 Chennai Dream Runners Half marathon. After waiting for weeks and getting constant update on social media that my friends are being tagged in various albums I could not found a single picture of myself what a pity when everyone was clicking with those super sharp DSLRs and smart phones.

Like last year we travelled to Chennai in Shatabdi Express on Saturday starting  early morning from Bangalore. The train journey was fun there were many familiar faces along with few faces of our group. Some from the last year opted out this year but at the end it was almost same number of people. Had a good sleep on train this time and could not participate in 'Gupshap'. The journey to hotel this year was very smooth compared to last year as we had a local Chennaite with us. We got down from the bus right in front of our hotel in Adiyar.


Had a big tasty south Indian veg-lunch at Sangeetha; the walk from the hotel was little long as we got used to the hot & humid Chennai. I tried my best to skip sleeping in the afternoon, evening we had long chat over tea/coffee at Anand Bhavan about running and various upcoming events like how and when we are going to participate on those. Suddenly it started to  rain like cat and dog which was refreshing and brought down the temperature little bit but shooted  humidity to higher level. Dinner was a low key affair for us who opted to come back to Anand Bhavan. Some of our friends had the dinner at hotel and was not so delighted with their service.

There was the Iran Argentina group match for World Cup and I wanted to watch it so I kept myself glued to the TV till half-time. A great defense and tactical match from Iran where they blocked Argentina from scoring anything till the last minute.

I got up around 3:45 as we were supposed to assemble at hotel lobby at 4:15 ; I had one banana, one Parx chocolate some dates and some water. Remembering last year I tried to drink water previous day to hydrate my body and kept my food simple. The moment came out of the AC room realized this morning is going to be a tough one.  We jogged from hotel to the start line which was around 1.6KM, by the time we reached the starting pointed many of us were socked in sweat. Personally dressed very light in a super thin sleeveless vest to keep myself cool.

Started the run with fellow runners from my running group and by the time we crossed 2KM mark we were completley sweating. But the good part the sky was dark and we were doing around 5 minute a KM for first 8 or 9 KM. In that course me & my running buddy crossed few others from our running group who normally runs faster than us. It was a good and bad sign - definitely I did not had a target , its either a sign of running  fast now and having a  physical problem in the later part  or the weather is playing its part and we are coping  better than others.

Around 9 KM when we were running along the beach my running buddy slowed down a bit and I continued with the pace that I was comfortable and stopped looking at GARMIN.  Around 18th KM meet with all the slow runners / walkers from 10K race and had to navigate them as I passed. Around 19th KM near Adiyar bridge found the local Chennaite from our group running very strong and crossed me. That motivated me to follow him and I kept reminding myself how a 2KM feels like in our practice runs and tried to make my strides longer.  I did my best to finish strong and gave my best in last 500 meters or so.

As I was relatively faster this time there was not so much queue for post run breakfast I drank many cold bottle of water which were easily available that time. My roommate did a wonderful run of 10K and cut-down his previous best record by 4 min to complete the same in 42 minutes and was celebrating the same. Called Pamela to let her know I was fine and all went OK.

After 10/15 minutes or so when we as a group started to ensemble someone reported one of from our group is having health issue and need medical assistant. I went and was with him during the whole time he was dehydrated and collapsed after finishing the race & while waiting in breakfast queue. Any way he had a bad time with dehydration which caused his BP to go down and needed drip. Oh! tell you when you are in medical tent of a race you see the whole race and post-race celebration with a different lens.

Met with LilyDi  and SameerDaa for lunch at their home, wow what a yummy food it was with so many courses of fish.

As usual train ride back to Bangalore was less eventful and many had a nap after a hard  race day.

I  did a personal best this time which I realized little late, for me being able to run and enjoy the same was more important than the time. But I think these few things really helped me in getting there.


  • Train enough and train hard for race, as race has so many unknown.
  • Taper down your training .
  • Rest enough even it means watching TV or reading a book if you do not get proper sleep in hotel bed.
  • Try your best to keep mind away from ‘target’, ‘pace’ and ‘timing’ just  enjoy the run as much as you can unless your are professional runner.
  • Dress accordingly avoid experiment.
  • Hydrate enough but do not overdo it like I did last year where I was barely running the last 5KMs. So I kept a water bottle with myself 6KM onwards and had small gulp on regular intervals. But I did not stopped in many water station as I like to have water when I want.  Some cannot run with a bottle in their hand so it is better to stop at water station and drink , find out what works for you.
  • Do not try to eat too much or too fancy on previous day.
  • If you have friends or relatives to meetup keep it post-race.

And here are those 1000+ of pictures which I checked meticulously to find myself in vain :(

https://www.facebook.com/media/set/?set=a.808014375885248.1073741831.548956021791086&type=1
https://www.facebook.com/hashtag/drhm2014
https://www.facebook.com/Runsters/photos_stream?tab=photos_albums
https://www.facebook.com/media/set/?set=a.601614176603452.1073741872.286230918141781&type=1

Facebook down - June 19th 2014


Wow that must generate more news later today when the social network site of the world took a plunge. Lets see how much time it takes them to fix the same. While some users are able to login they are not getting any updates and people like me are not able to login at all :(

Wow what a coincidence!!

For the upcoming  2014 TCS Bangalore10K, I am running  for a cause.  I will be supporting an NGO called ILP (India Literacy Project) which I became familiar with through my running group. I also volunteered to raise funds for ILP through BangaloreCare.  

This is my humble effort to raise funds for a cause close to my heart.  ILP is working in 17 states and 850 villages of India to make this basic right available. More about ILP and Bangalore Care can be found in their website. There is no amount as small amount when it is comes to collective power.  To make my pledge more personal, I began growing a beard inspired from “Beard-a-thon” which I am going to keep till the race day.

Let’s make India 100% literate! Click here to help me raise funds: Fundraise Detail  Bangalorecares.in

After sending the initial mail  and Facebook requests to friends and colleagues, I left for a 2 weeks vacation in April.  When I came back from vacation on 26th April, I was disappointed to find there were not much funds raised at all.  I am now making another round of chat, mail and socializing the idea to my friends and colleagues to gain support and funds.

Fortunately, I have been blessed with a wonderful set of friends and family. As of today, I have collected 40K INR  via the Bangalore Care website in last 2 weeks and  received around another 15K in personal account, as Bangalore care does not accept International Credit Card. I also collected funds directly in-person from a floor walk in Technopolis and will continue till this Friday 16th May. I also plan to apply for  a Matching Gift  in the hopes that the ILP would essentially receive double the amount raised by me through a grant from Thomson Reuters at work.

But there is another very interesting fact - I always recollect the first organized run I ran back in USA in 2000. That was a small run organized for Literacy Project for India in Shoreline - Mountain view (close to Google Campus . Shoreline being my primary running course, it was very natural that I participated  and was very happy with same.  However, being the first race,  still remember that Sunday morning quite well and had that T-shirt for long time as a memorabilia. 

Now after 14 years, today morning I just did a quick search and wondering if there will be a  digital foot print from that race?  Look what  found in few seconds. I am really emotional to see that I was there. And, both these are races are connected by same NGO - ILP.  I feel that my running life suddenly came to a full circle.











PaceMakers

Coach Kothandapani

Believe I shared it before  many times, my likeness of an active lifestyle. It was not  new to me but last year  found like minded group and joined them and now i can say i do exercise few times a week. A passion drives us to wake up at 4 AM twice on weekdays to reach stadium and start workout by sharp 5AM.  It is tough but once you reach there and start your day the whole day I find myself with plenty of positive energies.

This group is called PaceMakers and it is under the guidance of coach KC. He is a veteran runner  with many accolades. It also  feels like a being part of  big family.


Yesterday we had an awesome Birthday party celebrating coach’s birthday and sharing our new web site to the world. If you are looking for coach and a running group and stick with discipline you may want  try to run few times with us. Please take a moment to visit the  websites.

Driving Himachal


View Larger Map

We are back to Bangalore from our first trip to Northern India. It was touching the dot of the "i"  in the amazing Incredible  India. The eco-friendly state of  Himachal Pradesh and Himalaya has so much to offer is just amazing.  Feeling proud to be Indian....really Amazing India! Abundance of natural beauty ranging from beautiful snow-capped and green mountains, at times rolling hills, valleys, mountains cut in mushroom shape to give way to narrow roads and tunnels, gushing river like Satluj, Beas, Ravi etc, meadows giving ways to rock around highest peak,waterfalls,apple orchards with great variation in climatic condition..... more said about it will be less....

Tanflora -- Our own Keukenhof around Bangalore

Got an invite to visit a Rose farm from one of our running group member. Though this trip was long due it was like now or never as the season for roses almost comes to end with HOT Indian summer. From Bangalore we need to go via Sarjapur, Bagalur in Housr District of TamilNadu. Google name is Amuthugondapalli. Due to exam time many people could not come but it was still a sizable group of 30. 

Myself and Aarush joined another dad & son in car-pool to drive down there. Both the boys of same age became better and bitter friends quickly. The road was a long one for us as we have to travel on ORR to Sarjapur Junction and pass Decathlon and Sarjapur village till we reached Baglur Village. From there we took a right turn next to Police station and drive for 7+ KM to reach a place with a sign for Tenaflora. We were the first one to reach and as soon as Aarush and Abhinav got out of the car started to run and explore the vast open space. 

Soon we were joined with our hostess and other group members. She briefed us on a quick background the farm and how it works and we stared the guided tour. Roses are pretty but they needs lots of care and best resources to grow. The green houses are computer controlled to ensure the right level of temperature and humidity is maintained. The water that needs to be filtered and ensured right level of pH and EC maintained. If you are wondering what is this EC it is Electrical Conductivity of water may be we studied somewhere long time ago. There were those huge cold storage where unsorted and sorted roses are kept once they are picked form the green-house. The whole process is very tedious and labor intensive just like tea. Like tea garden ladies work with their delicate hands for sorting and ensuring right set of roses are packed together. The global standard is of 20 rose stems in one. We completed the post plucking production from un-sorted roses to a final packing and ready to be shipped in those big card-board box.

After that we had a stupendous lunch spread before us. The outside temperature was very hot but after a rest we walked towards green house. It was really hot out there. Inside greenhouse it was a great relief and it reminded us Shilshila. Growing up in India in 70/80s you it is kind of marked in your memory with permanent marker. Here we saw how they take care of each buds right from when they are in the size of peanuts. 

The best was kept for the last each of us were given a rose bouquet of different colors. Hope these pictures tell you the story better than me.

A Weekend - supposed to be perfect

Aarush reminded me it's  Friday,  at breakfast table and that he should have the I-Pad with charger for the Weekend; somehow he remembers when it is Friday very well for his age. Well the weekend was supposed to be a just another weekend on the calendar with no specific plan. There were some weekend work/changes/releases at office but not a major ones. Nowadays my running group is doing long runs on Saturday instead of Sunday. And I thought to myself if I start sharp at 5 I should be able to  finish by 7:15  and back home before 7:30 so that I can take care of Aarush.

On Friday I headed to bed early put the alarm for 4:15 and I left home for GKVK at 4:30. It was bit spooky to reach there and be alone in the dark. The only street light was working was around gate of NCBS. So did few short rounds of quick jogging on the road luckily there were no stray dogs. As I was finishing up my warm up exercises one by one my running group members started to show up. Without much time at hand I started running alone in the dark. I was thinking the faster ones will cross me any time after 15-20 minutes and then the others will follow. But saw my running buddies almost when I completed first loop and was at 9.8+ KM mark. I joined them back and to complete the remaining part without a break as I was carrying a small water bottle. Soon the second loop almost started to get complete and finished 20K in 1:50. 

At 20KM mark reached back to car and had little water break and then started the last 3KM. Now the real challenge was supposed to be faster by 1 minute for the last 3 KMs. I did OK and finished them within target shared by coach. It was 7:12 and with that headed back home. By the time I reached home Pamela already left for work and our maid and cook were busy working. Aarush was still asleep. Complete the workout with some stretching exercise; it was a real achievement to run 20+3KM within the plan.

After that had a quite morning, Aarush woke up, we completed shower, breakfast &  homework. He played little bit of games on Ipad while I uploaded my running details in GARMIN. Around 11ish dropped Aarush to Abacus class this was his 3rd session, something to keep him away from TV and IPAD on the weekends. 

Picked Aarush and Pamela around 1PM, after lunch had a nice nap and whith my best try Aarush did not slept. But he was ready for some rounds of roller blades within our apartment complex. It was kind of boring so called even friends with a hope if they are free;  will catch up with them.

After 9:30 in the night there was some glitch at work so spent some time on that issue ; was thinking to join Nike Run Club with Pamela on Sunday Morning. 

Sunday morning the alarm went off on correct time but two of us were lazy to go out - a perfect Sunday morning finished Breakfast late then completed household chores. Had lunch on time followed by a nap. I really felt good after a long time that got a restful weekend. 

The following day being Holi – festival of colors. There was some celebration within our complex ; Pamela and Aarush stayed there while I came home to prepare dinner.

After 30 minutes or so Aarush came back home and said he is not going to have dinner and going for sleep. Got little irritated with this as how he can skip his dinner and go to sleep; called Pamela and spoke about the same. So after 3 min (precise time from phone call log) I went inside and asked Aarush to change his dress and I washed his hand and face. While pat drying his hand my almost perfect weekend came to an abrupt halt and left me jolted on seeing Aarush left  hand was completely broken and it was twisted. 

I ran got some first aid to support  his hand and called Pamela again informing her to return immediately. And we rushed to ER of hospital next door. 

Everyone at hospital was shocked that how this 6 year old was not crying or howling and showing a brave expressionless face. They called the on-call orthopedic and by the time completed his first round of X-ray.

The only sound that came from him was when they applied traction to straighten his hand. Again another round of x-ray to confirm whether the setting was OK and finally we came home. 

Well today is only Tuesday and tomorrow evening we need to visit hospital again for another round of x-ray to confirm all is OK before they put a complete hard cast on his hand for 6 weeks. 

Today, I feel bad not for his broken hand but for hiding this incident because of the fear of being scolded . Looks like I failed completely and still trying to find an answer what triggered him to behave like that as on the same evening I have spent a good time on the play ground with him before leaving for home to prepare his favorite dinner. 
the x

Pinkathon

 Pinakthon is a initiative to encourage todays women of India to participate in active life style. Being  little active myself I know it is very difficult for modern urban Indian women to follow the same. There are many logistical issues staring from family, in-laws, sons, daughters, job and what not.

But the biggest block I think is they themselves as to take initiative of starting an active lifestyle and being committed to it which is not an easy commitment . Though I am not expecting them to run Full-Marathon in sub 3 hours but even if they can do atleast 30 minutes of speed walk or other cardiac activities on daily basis that would be great.

So this year, Pamela & Pixy signed up for the 5K events. Picture courtesy to Flashbulbzz.

Planning a summer escape - 2014


View Driving directions to Chandigarh, Chandigarh, India in a larger map
Looking for travel advice!!! Ticket booked from Bangalore to Chandigarh round trip. We flyout  on Sunday(13th April) and stay that night at Chandigarh and next day would like to start  for Himachal Pradesh. And return after almost 2 weeks, on Friday to Chandigarh and take next Morning flight to Bangalore on Saturday (26th April).

Goa ... beach and x-mas

In 2013 we had very little family vacation time. I personally travelled here and there for single nights few times due to running and other personal work. The worst was to spend a week in Calcutta just after Durga Pooja and not able to accomplish anything there. So when December vacation time was only few days away I booked for Goa for 4 nights without much thinking. Personally felt quite happy with the booking as got a decent price for Goa just before X-mas.

We left Bangalore on Saturday morning at around 04:30 morning; the road condition was great and for the first time I was maintaining 100/110 KPMH. The road widening on NH4 between Chitradurga and Neelmangla was completed and now we have 3 lanes on each side. We stopped at Kamat before Haveri and soon reached Hubli around 10ish. From there we left the toll road but the road condition did not deteriorate at all. Thanks to Supreme Courts’ verdict on Illegal mining : ) there was no over-sized dumper carrying Iron ores. We reached Karwar by 12 and did not felt like stopping  for lunch that time. On entering Goa border we had to pay whooping 250 INR as entrance fees which was little surprising for us as never had to pay such fees with Private self-driven car in India.

We reached our hotel Colva kinara around 14:00, so first we had lunch and then checked in later. While checking-in got a shock of life time. There was mention of “Mandatory Gala Dinner on 24th Dec 2012(X-Mas Eve)” but the price of the same was never mentioned while booking and personally did not open the hotel coupon to read the fine prints. Now Hotel guys were asking rs.3000 per person for the same so in total 7500 for our family of 2 and half . Called up MakeMyTrip and told them they should have made this clear prior booking as it was too extravagant amount being asked by the hotel but looks like there was no option other than paying. It was a bad start .

Visited family and friends twice on the northern side in the evening ; it was OK drive but quite long. 

The 4 nights stay at the hotel was event-less but the hotel was not a great for the money we spent. These 4 days we really not did do much other than drinking, eating, walking to beach, take a swim at sea and repeat the same.  As got robbed on the day one due to that great dinner thought of extending the stay and even out the damage. Checked for a property in Agonda beach (further south close to Karwar) and decided to go there. The plan was if they provide us with decent room we stay or else we go back. The property was right on the beach and it was beach hut called Dersy's beach hut with minimum bare amenities. For example there was no running hot water but all we were looking for was beach, sand and tranquility.

The next 3 days were more or less similar we had breakfast at ‘On the wayGerman bakery, lunch somewhere and dinner at “La Dolice Vita”. Both the place were excellent in terms of quality of food and price. Last day, we went  to Palolem beach at "Cozy nook huts" right on the beach and enjoyed our lunch there.We really liked them. Afternoon were pretty hot even in December- mostly left with no option other then power nap. Two evenings I did barefoot running along the beach in the evening. But ended up getting body ache and eventually fever. 

The drive back on Saturday was hard on me being sick and Aarush too was down with fever. We skipped lunch as didn't feel like eating that afternoon. I had to take a power nap (after lots of request from Pamela) for 40 minutes. But the sad part is no CCD(cafe coffee day) around or decent break area along this NH4 while returning. There is one CCD only near Tumkur and that too on the other side for which I was not at all keen to take 2 U-turns on the Highway. Thinking back, the drive back west when the sun is in-front of you its not at all easy to drive and ended up with severe headache accompanied with fever.

So after a wonderful week of vacation, I was completely down with Viral fever for almost a week and had to visit a Doctor and take antibiotic medication to recover. So going to Goa in the peak of season may not be a great idea as hotel price is just sky rocket at that time. 

PHP iptcembed Gallery3 to Flickr

A journey of sharing photo only got me into having a website of my own. When digital camera came out with decent mega pixel was an early adapter of the same. But soon realized sharing Pictures on email was not an option and  hosted pictures  on Tripod. Oh! they used to give 10MB of free hosting :) now Flicker gives one 1TB free. So long  story small after the managing own gallyery app writen initally with csv and php , later mysql and php and lastly Gallery for almost 10 years. found gallery development is kind of not that active it used to be. So thought of moving into Flickr which was big no in-between as they had restriction on free accounts. But now those restriction gone managing 7000+ picture and importing them with proper details remained a BIG challenage. At last came up with iptcembed  where all the details where written into  JPEG file itself and imported those image as set to Flickr.And all your details, tag, captions are set properly.

Here is how I did it

1. Copy Gallery's items table to temp table so we do not mess with live data
2. Add a new column to the temp table
ALTER TABLE `Yours_G3_items-new` ADD `album_name` TEXT NOT NULL
3. Find out the parent album id of each items and add that data in the new column.
UPDATE Yours_G3_items-new,Yours_G3_items  SET Yours_G3_items-new.album_name = Yours_G3_items.title WHERE Yours_G3_items-new.parent_id = Yours_G3_items.id
4. Export the new table with "|" as separator and "" as enclosed.

Now the PHP script
<?
//File to be opened
$file="/tmp/csv.txt";
$gallery_album_base = ..../gallery3/var/albums";
$new_gallery_album_base = <new location>/albums" ;
//
$handle = fopen($file, 'r') or die ("Fail to open input file \n\r") ;
$ln= 0 ;
// Some Functions Start
function csv_explode($delim='|', $str, $enclose='"', $preserve=false){
$resArr = array();
$n = 0;
$expEncArr = explode($enclose, $str);
foreach($expEncArr as $EncItem){
if($n++%2){
array_push($resArr, array_pop($resArr) . ($preserve?$enclose:'') . $EncItem.($preserve?$enclose:''));
}else{
$expDelArr = explode($delim, $EncItem);
array_push($resArr, array_pop($resArr) . array_shift($expDelArr));
$resArr = array_merge($resArr, $expDelArr);
}
}
return $resArr;
}

// iptc_make_tag() function by Thies C. Arntzen
function iptc_make_tag($rec, $data, $value)
{
$length = strlen($value);
$retval = chr(0x1C) . chr($rec) . chr($data);
if($length < 0x8000)
{
$retval .= chr($length >> 8) . chr($length & 0xFF);
}
else
{
$retval .= chr(0x80) .
chr(0x04) .
chr(($length >> 24) & 0xFF) .
chr(($length >> 16) & 0xFF) .
chr(($length >> 8) & 0xFF) .
chr($length & 0xFF);
}
return $retval . $value;
}
// Some Functions End
while ($line = fgets ($handle)){
$line = str_ireplace("\x0D", "", $line);
$line = urldecode ($line);
++$ln;
print ("just line : $ln \n");
if ($line===FALSE) print ("FALSE\n");
else {
//print ("I am $ln \n");
//print ($line) ;
$variables = csv_explode ("|", $line);
//print_r ($variables);
//26(album or photo) 25(title), 13(image_path), 4(details),33(album_name/tag)

if ( $variables[26] == photo ){
//Path new and old path
$old_path = $gallery_album_base . '/' . $variables[13];
$image_name_new = $new_gallery_album_base . '/' . $variables[13];
$path_parts = pathinfo ($image_name_new);
if (!file_exists($path_parts['dirname'])) {
print ("makeing directory {$path_parts['dirname']} \n") ;
mkdir ($path_parts['dirname'], 0777,true);
}

// Set the IPTC tags
$iptc = array(
'2#120' => "$variables[4]",
'2#105' => "$variables[25]",
'2#005' => "$variables[25]",
'2#015' => "$variables[33]",
'2#116' => 'Copyright, www santm com'
);
// Convert the IPTC tags into binary code
$data = '';
foreach($iptc as $tag => $string)
{
$tag = substr($tag, 2);
$data .= iptc_make_tag(2, $tag, $string);
}
// Embed the IPTC data
$content = iptcembed($data, $old_path);
// Write the new image data out to the file.
$fp = fopen($image_name_new, "wb");
fwrite($fp, $content);
fclose($fp);
print ("working on $image_name_new \n");
//$size = getimagesize($image_name_new, $info);
//if(isset($info['APP13']))
//{
// $iptc = iptcparse($info['APP13']);
// var_dump($iptc);
//}
} //end of if photo loop
} // end of else loop
} // end of while loop
# Close the File.
fclose($handle);
?>
I Wish there was API where I could import the image from my old hosting company to Flickr directly instead of uploading them via their PC up-loader.

More here on major phpfunction

http://www.php.net/function.iptcembed
http://www.php.net/function.pathinfo
http://php.net/manual/fr/function.explode.php