Tuesday, August 30, 2011

Increase Mobile Phone Signal Strength Indoors



1. If you are having problems getting a phone signal indoors, move around with your phone to try to find an area in your home where reception is best. This will often be close to windows or doors because large, well insulated buildings can be unfriendly environments for phone reception.

2. Get a mobile phone signal booster. Vodafone have launched a product recently called Vodafone Sure Signal which is a phone signal booster box that is connected to the household broadband and boosts the phone coverage throughout the house for up to 4 different users. To use this you will need a minimum broadband line speed of 1Mbps, plus a 3G mobile phone.

3. On some mobile phones it is possible to change your antenna. You could purchase a “hi-gain” antenna and swap this for your old antenna to improve indoor reception.

4. Buy a wireless indoor antenna booster which works by housing an antenna outside the house which then feeds into a smaller antenna within the house, thus boosting mobile phone reception in the house.

5. If calls are constantly being dropped indoors and no remedies to boost the phone signal seem to be working there are some software based options. For example, you could setup a call forwarding service which forwards all calls made to your mobile phone through to your home phone landline. Alternatively, you could use a VOIP solution (such as Skype) which could ring both your mobile phone and home landline simultaneously.

6. The way you hold your phone can contribute to the signal strength you get. One of the most advanced mobile phones currently on the market, the iPhone 4, suffers from a loss of signal when held by the lower left hand corner – not ideal for left handed users such as myself. An Apple statement on the problem stated that “Gripping any mobile phone will result in some attenuation of its antenna performance, with certain places being worse than others depending on the placement of the antennas.” Indeed the issue with the iPhone 4 prompted Apple to give away free cases to customers to alleviate the problem. So if you are having some signal strength problems, try to hold the mobile phone in different ways to see if signal strength is improved.

7 & 8. There are two final resorts if you continuously struggle to get an indoor mobile phone signal. These are to switch phone networks and/or switch mobile phones. You may find that different networks have stronger signal strengths in your area and that different mobile phones will have stronger antennas than others. If friends or family have different phones on different networks, invite them round so you can experience which phones and networks have the best reception indoors in your phone black spots.
Read more

Sunday, August 28, 2011

Best cell phone tricks--battery down ? lost your cell ? stop receiving call ? ? wanna lock it ? ?



1. Do not want to receive calls or make your number does not exist?
Type **21*999999#, then press the green answering key. If someone is to call you, he / she will hear ‘the number you dialed does not exist’, isn’t it cool? To disable this feature, type ##21#, then press the answering key again, and everything will be normal.
2. Get your keys locked in your car and get a remote control at home?
Call home and tell anyone to press the unlock button and keep your mobile phone 1 foot away from the car, this really works.

3.Is your Battery going dead ? why don't you increase it to 50%?
Type *3370# and your cell phone is going to restart, and you can expect to see an increase of 50% in battery life level, now you can make any emergency calls. This only works for Nokia cell phones.
4. Get your mobile phone lost or stolen ?
Type *#06# and you will get your IMEI number, tell your service provider this number and they can block it. You will note get your cell phone back, but it will be useless even if the SIM card is changed.
Read more

How google adsense work ?



Many people asks, how actually Google Adsense works or pays its Publishers good and better revenues than most of other ad-networks, and what is the actual working of the system. Well, to this question i answer :

Google Adsense works on following mechanism, where i would say Google (company) has two tools,

1. Google Adwords – For Advertisers

2. Google Adsense – For Publishers

Now suppose, an advertiser like “Apple Inc” wants to advertise its products lets say ‘iPad’ and ‘iPhone’, now what happens is, Apple inc (advertiser) pays the advertising amount to Google company (ad-agency), now google with help of its own Publisher Network called “Google Adsense” pays the publishers (website owners) a Percentage of what it has got from advertiser. So in short, if Apple pays USD 100 to google inc, than google will keep USD 39 for itself, and pay rest $61 to the publishers through (Google Adsense platfrom).
So this is how it works.

Google earns more than $20 billion each year with help of just these 2 tools. $$$
Read more

Wednesday, August 24, 2011

HACK : Simple encryption-decryption algorithm in php



HACK : Simple encryption-decryption algorithm in php

For those peoples who want to save their passwords encrypted.


//function to encrypt the string
function encode5t($str)
{
for($i=0; $i<5;$i++)
{
$str=strrev(base64_encode($str)); //apply base64 first and then reverse the string
}
return $str;
}

//function to decrypt the string
function decode5t($str)
{
for($i=0; $i<5;$i++)
{
$str=base64_decode(strrev($str)); //apply base64 first and then reverse the string}
}
return $str;
}
Read more

Thursday, August 18, 2011

PHP Mailer Form with File Attachment



Simple to implement in your web page. Allows one file to be attached to the email.For multifile aatchment code go to this link : Multifile Attachment Performs validation of: name, email, subject and message. Also validates certain file types and maximum size. No need for PHP knowledge. The script is well commented. Form is styled using CSS.

This script is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation. This script is distributed in the hope that it will be useful, but without any warranty. I hope you find it useful.

Form Installation Instructions:

You need to include (or require) the fns.php at the top of your page. Basically copy/paste the top and bottom of the index.php to your page (whatever is within the php tags) and adjust the path/to/fns.php

Copy/paste the code within the #uploadform div to where you want it to be on your page

Change the email address in the fns.php. There are a few other variables you can adjust if you wish around the same place as the email variable
Download

Download Php Mailer Script

Read more

Wednesday, August 17, 2011

Play with any website--redesign it--funny trick




Open any website and copy paste the above code by clearing address bar.

1)open any website like Facebook.com
2)copy and paste this java-script code in address bar
3)Drag AND DROP THE CONTENT

note: if refreshed , every thing comes back to normal.

javascript:document.body.contentEditable='true'; document.designMode='on'; void 0

Read more

We couldn't afford rent: Hrithik Roshan



This is why i respect him...

just read it..



To understand why the star with the Greek God physique doesn't hit back, and lets people call him a pushover, read on

You've spent more time meeting people face-to-face in the promos of " ZNMD" and for your dance show than you've probably done ever in your life.
Yes, I had never hit the road earlier for promoting a movie this way, I haven't quite mastered or understood this part. I hope to learn from this experience; I am, after all, still ten years junior to the stars they put my name with. I need to gather a lot more of that before I can be mentioned in the same breath as Aamir, Shah Rukh, Salman. I am on my learning curve right now.

I remember that for my first film, "Kaho Naa... Pyar Hai", the amount of days I spent in publicity was exactly zero. I did not come in front of the camera even once. People had no reference point, they didn't know anything about me. And I've often thought that if just the promos could do as much for my very first movie, do I really need to do this much today? But the times have changed. And the only way to keep up with the times is to not dismiss these questions, but to experience things yourself, see what it is about, and then come to a conclusion.

No cynicism, no regrets after these many years in a competitive industry?
No. I think it's a very foolish thing to look back at your life and have regrets for anything that you do. You should tell yourself that at that time, for that place, I did the best with what my instincts provided me. Now you're wiser. As long as you can attach a reason to your failure, you'll learn, you'll grow wiser. But if you just sit and keep saying, 'arre yaar what did I do,' it's pointless. You have to ask yourself, what is the one thing I can learn from this experience which is a 'failure' in other people's minds? If you can do that, it no longer is a failure. It turns into feedback, and you will grow with it. So eventually, there are no failures.

Films that don't work - like "Kites" and "Guzaarish" - haven't knocked you off some superstar pedestal? Is it because you don't live in the superstar mindspace?
I don't know where that comes from. I get very, very awkward when people refer to me as a superstar - except when I am being introduced on stage where I am supposed to perform as a superstar. That I'm comfortable with, because I have the jacket and the mask of a star on. But if you introduce me, without all that, as a superstar, it unnerves me, it makes me a little uncomfortable.

You don't feel like a superstar? There are people who get your face tattooed on their bodies. Then there are people who come online and tell you to learn to act, in colourful language. How do you, non-superstar, manage these extremes, abuse and affection both?
I need to look at both of these through compassion. If a person has got my face tattooed on his back, I think that is a bit extreme. But there are situations where people may need to look up to an idea, an ideal, or a person to provide them direction in life. And if I can provide that, it's a compliment to me. But if I take it as a sign of my greatness, then I have got it all wrong. I am not a greater guy after the tattoo.

In reverse, when someone says anything bad about you, the way I look at it is - there is no truth, there is only a point of view. It depends on where you are standing. If a person tells me, 'Hey, I don't think you're a great actor, you're an idiot, you over-act,' or whatever, that's his point of view. In such a situation, I feel it's my responsibility to demonstrate that you should never counter an attack with more attack.


That's the essential path to peace. I want to feel good about myself, and so, what I do is, I type back - 'Well, I try, and now I will try harder; thank you for your feedback.' And I feel good about myself. And he relaxes, nothing has hit his ego, and so he's not going to attack any more. I have brought about peace in this war - even if it is the micro level.

This approach is why we've never heard of Hrithik, the hunk, ever getting into a fight?
I think you have to be the most foolish person, and the weakest person, to get into a fight. The only time you have to raise your hand is if there is injustice being done in the present, right there, where I am. If a lady has been wronged, then I will raise my hand. There is no other situation where you need to raise your hand.

You haven't had an ego-damage moment?
No, on the contrary, it's only through damaging the ego completely, and nullifying it, and then realizing that you're still alive, it doesn't mean anything, is when you realize it's not important. I have gone through a battery since I was five or six years old. I used to come home from school and weep through the evening, weep through the homework, because I didn't want to go to school the next day. I didn't want to go through the torment of being the guy who is laughed at all the time. I had nothing working for me. Even the fact that I was a hero's son worked against me, because of the sort of school that I was in. It was looked upon as something a little cheap.
Now, when I join the dots, I see that I had to go through all that to be what I am, to reach where I am today. The hammer that moulds the stone hurts, but it shapes you into something beautiful.

Does your wife subscribe to this no-ego ideology?
Yeah... Now she does (laughs). It's taken a lot of time. Now we are in a state where I think she understands, even looks to me for advice if she is in a situation where she feels like attacking back. I'm the one who calms her down.

But surely she must have at times said to you, 'Why don't you respond to this, why are you not hitting back?' That's the expected male response, isn't it?
Yes, there was a point of time when she felt that way. In fact, there was a particular situation in London. It was just after we'd got married, and we were walking down Leicester Square, and there were some badly behaved boys who were obviously high on something. One of them passed by her and gave her a nudge and then abused her, called her, umm, a b**ch. And instantly, she wanted to attack back, and she was physically inferior, so that infuriated her even more. She wanted me to strike back. But my perspective was different. I consider myself the peaceful warrior. If the guys hadn't passed by so quickly, I would probably have walked up to the boy and spoken to him, and made him feel good about himself so he wouldn't need to attack someone like this again.

People are carrying their own frustrations inside and they are looking for scapegoats to vent out, to get a chance to hit out, to release their own frustrations. He doesn't even know her, I've got nothing to do with him. He calling my wife that doesn't make her a b**ch, and that's the truth. If he'd passed me by and said, 'Hrithik Roshan, you don't have a right arm,' what would I say? People will either say the truth, or a lie. He will say, 'You have a right arm'; yes, I have a right arm, I'll keep walking. Or he will say, 'You don't have a right arm'; he's wrong, he's lying, and I'll keep walking. Same thing - he calls my wife a b**ch, I know she's not, I walk on. I don't need to go and bust his face, that would make me one of them. I'm above all that. I would feel defeated. I didn't give that guy what he wanted; he wanted to get into a fight, and I didn't give him that chance.

But, at that moment, she wouldn't have been too happy?
Yes, that is true. But now she understands that it was the right thing to do. Instinctive aggravation is what creates most of our warring, whether in the four walls of our house or at the world-level.

Machismo is a coveted trait in Bollywood. People must needle you over this pacifist approach?
Yes, I'm considered a pushover, I guess. I'm considered to be someone who's not strong enough. There was this one situation that I had to laugh at. We were at Shirdi, with my family inside the temple, trying to find our two minutes to pray. And there were these people from the media, simply refusing to heed my requests to give us some space, some peace. And I had to take them by the neck and simply push them out - and even as I did it, I kept saying, 'I'm sorry, but I just have to do this.' I pushed them out. And by the time I came back home, I had twenty thousand people telling me what a hero I was because I did that, because I stood up for my family - and I laughed at that. I didn't need to do that, it's not right, and you don't need to compliment that.

And there was another instance - my father had just shaved his head, and coincidentally, we were again at Shirdi. We were just entering the temple and this guy shouted, 'ai taklu', to my father. You'd expect a good son to turn around and bash up the guy. But what is he saying? He's stating the truth. My father is bald; he's calling my father bald. I love my father bald, he looks handsome! So why do I need to react to that? What's he saying? It's the tone that I'm reacting to; it's the tone that aggravates. Don't react to the tone. It's reflecting his frustration, he needs some more attention. He needs a look back from Hrithik Roshan, he needs that one moment of attention and glory - and I don't need to give that to him.

And the industry, yes, is filled with a lot of people who know more than me, in a lot of ways. But in this department, I find a lot of them behaving like schoolkids, fighting with each other - I said this to him, he said this to me - I feel that should be left back in school.

This sort of thinking is part of you?
I need these kind of thoughts. The most important thing in life is necessity. With me, with the kind of struggle I had to face, I needed these thoughts, to keep me afloat. I often felt I was in deep waters, where my feet didn't touch the ground, and there was just no support, I was drowning. So this is something that carried me, made me think of life in a different perspective. We all want to be happy but nobody is willing to do the things that will bring them happiness.


Among the things that bring happiness in today's world is money - and as a superstar you would have no deficit of it. Doesn't it make it easier to have a philosophical take on things?

I have a good understanding of how important money is. And now that I have children, I want to gather as much of it as I can, yes. But I know what it means. Money is a means to an end. For me, it is also a means to help people. I can never say no to anyone, and if I am in a position to help, I help. I have seen my father struggle for 20 years. I know what it is like to have no money at all. I have slept for four nights on the floor in a house with no furniture and not even a fan, and I remember crying to my mother that I couldn't sleep without a fan.

How old were you?
I must have been about nine. We were thrown out of our building because we couldn't pay the rent. And then for about six months, we lived at my nani's house. My father was too embarrassed to live there, and so he stayed with a friend. And as soon as he got some money, he got this place, and he just had to get us into our own place. So, for the first four nights, I slept on the floor with my family in a house without any furniture and without fans. Those are the memories that keep me grounded.

What sort of memories would your kids have? What do you share with them?
I think the poison of our world are the fairy tales that are taught to our children. There is not one fairy tale that speaks of how beautiful real life is, where there is no happy ending. It's just a journey filled with sadness, happiness - it's all there - and you have to live that and know that that's your fairy tale, how you're going to overcome every little obstacle and how it'll never end. The End is something that is a poison; the Prince Charming comes, he and the girl fall in love, The End. The End is something that never happens in real life. Even in death, there is no The End. How do you know if that's the end? You don't, really.

I personally have built a fairy tale for my children which I narrate at their bedtime. It is on a character called the Blue Light Kid. He is as old as my sons, who are three and five. I talk about all the things that my sons go through. My son came last in a race, and so I created a chapter on that, about how the Blue Light Kid came last in a race. He was in his room and a Blue Light appeared and spoke to him; he asked why he came last, though he worked hard, and the Blue Light told him that he didn't work hard enough. So he works really hard for the next race, and he again comes last, and gets really angry and says to the Blue Light that it's not fair because he worked really hard. And the Blue Light says, 'As I said, you didn't work hard enough.'

I have these chapters and talk to them about things like losing toys. I tell them that you will get excited about your toys and at some point you will also lose interest in many of them. I talk about these little things; hopefully it'll continue till I can compile it all and release it as a real life fairy tale about this Blue Light Kid.
After all, fairy tales are about a world of fantasy, but none of us live in such a world.

Reference -- http://timesofindia.indiatimes.com
Read more

Monday, August 15, 2011

Send image as attachment or an other file with email in php

Send image as attachment or an other file with email in php


This script is very useful if you thinking to send files as attachment to any email
in php.




// array with filenames to be sent as attachment
$files = array("file_1.ext","file_2.ext","file_3.ext",……);

// email fields: to, from, subject, and so on
$to = "mail@mail.com";
$from = "mail@mail.com";
$subject ="My subject";
$message = "My message";
$headers = "From: $from";

// boundary
$semi_rand = md5(time());
$mime_boundary = "==Multipart_Boundary_x{$semi_rand}x";

// headers for attachment
$headers .= "\nMIME-Version: 1.0\n" . "Content-Type: multipart/mixed;\n" . " boundary=\"{$mime_boundary}\"";

// multipart boundary
$message = "This is a multi-part message in MIME format.\n\n" . "–{$mime_boundary}\n" . "Content-Type: text/plain; charset=\"iso-8859-1\"\n" . "Content-Transfer-Encoding: 7bit\n\n" . $message . "\n\n";

// preparing attachments
for($x=0;$x$message .= "–{$mime_boundary}\n";
$file = fopen($files[$x],"rb");
$data = fread($file,filesize($files[$x]));
fclose($file);
$data = chunk_split(base64_encode($data));
$message .= "Content-Type: {\"application/octet-stream\"};\n" . " name=\"$files[$x]\"\n" .
"Content-Disposition: attachment;\n" . " filename=\"$files[$x]\"\n" .
"Content-Transfer-Encoding: base64\n\n" . $data . "\n\n";
}

// send

$ok = @mail($to, $subject, $message, $headers);
if ($ok) {
echo "mail sent to $to!”;
} else {
echo “mail could not be sent!”;
}

?>
Read more