Archive for February, 2010


PHP: Removing All Non-Printable (Special Characters) From String

Friday, February 12th, 2010

I was actually trying to find a way to do this in JavaScript, but eventually gave up. I basically want to remove all non-printable special characters from a string. So for a string like this:

Code:
$str = 'Characters like© and ® are not all®wed.';

I would want ‘Characters like and are not allwed.’. The following matches anything in the ASCII range of 0-31 & 128-255 and removes it.

Code:
$str = preg_replace('/[\x00-\x1F\x80-\xFF]/', '', $str); 

Buy Kardovite in Canada

Monday, February 8th, 2010

Kardovite

High Park Nutrition recently added a fantastic new brand in Kardovite. Kardovite is a brand we’ve been using personally for a very long time, and we’re glad to finally have them available on hpn.TO.

Kardovite has seven different ingredients, which is not in any other similar preparation. The only formulation of its kind that is available in 3 different forms, regular, odourless and capsules. Sam Ibrahim a European educated Pharmacists/herbalist developed Kardovite. At Nutrition Plus we strongly believe that we manufacture the best quality product available. All of our standardized herbs are sourced from only the best growers in the world.

For thousands of years, people have been using the products of the natural world to help them stay healthy. For example, North American Indians chewed willow branches for headache. That’s because willow contains salicin, which is a precursor to the active ingredient in Aspirin. Like Aspirin, many drugs are derived from nature products usually from plants by chemically altering, purifying and concentrating them.

By understanding and regularly using the medicines nature has given us, we can help our body to maintain its health in addition to managing health concerns as they arise. Herbal and supplement products are nature’s medicines. For example, St.John’s Wort contains a natural antidepressant; Echinacea helps to boost your immune system by counteracting an enzyme that weakens your cells and lets viruses in. There is more to making quality natural health products than harvesting plants, crushing them, and putting the resulting powder into capsules. We are committed to producing Kardovite products of only the finest quality. Every batch of Kardovite product is quality tested by independent labs so that they can offer guaranteed potency and purity

.

To see all Kardovite products at hpn.TO click here.

A Comment on Greece from June ’93

Tuesday, February 2nd, 2010

“If all of the Greek islands were merged with the mainland, it would be about the size of Alabama; there are 10 million Greeks – and perhaps another 4 million living throughout the world, who still think of themselves as Greek. They are, thanks to their history, magnificent patriots and nationalists – and abominable citizens, who deeply mistrust every government they’ve ever had. Essentially they are fierce individualists, who mistrust so much whatever government happens to be in power as the very idea of government. The have almost no sense of civic responsibility – Pericles complained about this at length – and History has never given them much of a chance to work out a stable system of government.”