Skip to main content

Sometimes when you least expect it, you get it

Hey guy's and gals this is the most common phenomenon that happens in everybody's life. Your life is in a mess or you are feeling so down but suddenly some good change in your life helps you to get back on right track.
It is like when a door closes several other are opened and it up to us to see the new opportunity and grab it. I really feel that some it works in other way round you are in deep shit and then you come to know that you might get something you wanted all along but now that you have it you can't really have it. :(
It is like You can't have the cake and eat it too. Life has so much to give but I really think that we try and close our eyes for the bad thing that happen to us but in reality those experiences are the one from which we actually learn and grow up. It is rightly said that
"What doesn't kill you makes you stronger".

Comments

Popular posts from this blog

XAMPP: Couldn't start MySQL!

XAMPP: Couldn't start MySQL! Trying to run mysql on ubuntu 10.10 and give this vauge error "XAMPP: Couldn't start MySQL!" Try this 1. Open a terminal. 2. run this command sudo chown -hR root /opt/lampp 3. then run this sudo chmod -R 777 /opt/lampp 4. Now Restart XAMPP sudo /opt/lampp/lampp restart U are all set. And if u r getting the follwing warning after restarting "Warning: World-writable config file ‘/opt/lampp/etc/my.cnf’ is ignored" 1.Open terminal 2.Migrate to /opt/lampp/etc 3.run the command sudo chmod 755 my.cnf

Difference between is_file and file_exists

If you want to know that the argument supplied is a file or not use is_file() file_exists() will take both file and directory as input and return true if they exists. So, unless you specifically want to check if the argument passed is a file use is_file otherwise use file_exists()