Skip to main content

Posts

How a government employee starts accepting bribe - who is responsible?

The formation of bribing Officer Couple of days back, I met a man who is working for a Government establishment. Young energetic talkative person he was :)... It was interesting to listen what he was saying. We just had some chit chat and topic of discussion spanned  across multiple subjects under the sun. He shared some of his views regarding how corruption  drowns the development of society and who is responsible for it. Thought of sharing that with you :)

PHP function to Remove Non AlphaNumeric Characters from a given string with exclusion list

PHP provides various pattern matching regular expression functions as well as string functions to perform this task. PHP built-in functions for this are str_replace, str_ireplace, preg_replace, substr_replace ,preg_match It is recommended to use PHP string replace functions over regex functions to do simple string replace functions.There is nothing wrong with using a regex , regular expressions have to be compiled and strings to be parsed, but some people wrongly them by doing silly things like : preg_match('/txt/', $str) instead of strpos('txt', $str) !== false      OR preg_replace("/txt/", "", $str) instead of str_replace('txt', $str)

How to find low cost unbranded generic equivalents of high priced branded medicines and save your money

Common man is fed up with the raise in costs of medicines. Now a visit to hospital for fever of cough cost atleast 500 bugs. Most of the doctos prescribe branded medicines which usually costs high. You might have noticed that, when we go to a medical shop and asks for a particular medicine, if that medicine is not in the shop, then the person may look at the chemical composition of the drug and then suggest alternative medicines that have the same salts as the one mentioned in your prescription...and this may be an unbranded one, may be of high or low cost, but does the same effect.

Dr. A.P.J. Abdul Kalam’s inspiring speech addressing the the European Parliament at Strasbourg, France on April 24 2007.

"Dream is not that which you see while sleeping it is something that does not let you sleep." .... these words are taken from A.P.J. Abdul Kalams'Autobiography "Wings of Fire".                       India's real hero, the missile man, great visionary, statesman, poet, scientist, the former President of India Dr APJ Abdul Kalam had passed away on July 27, 2015 in Shillong while giving a lecture on 'Livable Planet earth' to IIM students. Till his last breath he was active and was involved in various socio and technological activities. Avul Pakir Jainulabdeen "A. P. J." Abdul Kalam was born and raised in a poor family in Rameshwaram, Tamil Nadu. He became scientist in the field of physics and aerospace engineering and was later know as father of Indian Missile Technology. He became the 11th President of India from 2002 to 2007.

How long it will take for a de-ranked website to get back the top postion on search engine result page after applying proper SEO techniques

Usually in SEO (Search Engine Optimisation ) relation forums, you can see discussions on topics like: If a site is deranked by google, bing, yahoo or any other search engines, how long it will take to up-rank if we apply proper SEO techniques . The answer is it's really not predictable. first, it depends on the site's age and current traffic ( ie, how many visitors comes to your website ).

Is there any MySQL function to return date from unix time stamp?

In the DB table, when a record is inserted the timestamp is also inserted. This time stamp is added in the insert query using the time() function. When The records are listed currently the php date( $timestamp , "d/m/Y h:i:s" ) function is used to dhow the data back. Is there any function in MYSQL which can  generate date from the unix timestamp stored in the table?

How to get First and last time stamp value of a particular date in PHP

PHP custom function to get  First and last time stamp value of a particular date. To generate unix time from a date we use mktime() function in php Syntax of the function is given below: mktime ([ int $hour = date("H") [, int $minute = date("i") [, int $second = date("s") [, int $month = date("n") [, int $day = date("j") [, int $year = date("Y") [, int $is_dst = -1 ]]]]]]] ) **$is_dst means "is DST ( Daylight Saving time) applied


Urgent Openings for PHP trainees, Andriod / IOS developers and PHP developers in Kochi Trivandrum Calicut and Bangalore. Please Send Your updated resumes to recruit.vo@gmail.com   Read more »
Member
Search This Blog