/* * Patch for filter_var() */ if(!function_exists('filter_var')){ define('FILTER_VALIDATE_IP', 'ip'); define('FILTER_FLAG_IPV4', 'ipv4'); define('FILTER_FLAG_IPV6', 'ipv6'); define('FILTER_VALIDATE_EMAIL', 'email'); define('FILTER_FLAG_EMAIL_UNICODE', 'unicode'); function filter_var($variable, $filter, $option = false){ if($filter == 'ip'){ if($option == 'ipv4'){ if(preg_match("/(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})/", $variable, $matches)){ $variable = $matches[1]; return $variable; } } if($option == 'ipv6'){ if(preg_match("/\s*(([:.]{0,7}[0-9a-fA-F]{0,4}){1,8})\s*/", $variable, $matches)){ $variable = $matches[1]; return $variable; } } } if($filter == 'email'){ if($option == 'unicode' || $option == false){ if(preg_match("/\s*(\S*@\S*\.\S*)\s*/", $variable, $matches)){ $variable = $matches[1]; return $variable; } } } } }
Visit our website: www.rawpaleodiet.com
Join our Yahoo Group: RawPaleoDiet
RSS Feed Latest 50 Posts
Subject / Started by | Replies / Views | Last post | ||
---|---|---|---|---|
0 Members and 86 Guests are viewing this board. | ||||
Are we hard core health hobbyists?
Started by goodsamaritan |
12 Replies
7,881 Views |
August 31, 2009, 09:31:56 pm by goodsamaritan |
||
More on IBD
Started by Jayce |
13 Replies
9,209 Views |
August 18, 2009, 06:07:10 am by Raw Rob |
||
Nightshades affect Arthritis, no doubt...
Started by Raw Rob |
5 Replies
7,219 Views |
August 15, 2009, 09:13:20 am by LakeWorth33460 |
||
1 Replies
3,868 Views |
August 10, 2009, 05:06:48 pm by TylerDurden |
|||
Allergies
Started by boxcarguy07 |
10 Replies
9,860 Views |
August 09, 2009, 04:07:28 am by SuperInfinity |
||
1 Replies
3,226 Views |
August 06, 2009, 11:15:08 pm by William |
|||
Vitamin A Toxicity
Started by protoject |
9 Replies
9,816 Views |
July 27, 2009, 06:51:12 am by RawZi |
||
Cholesterol Query
Started by SkinnyDevil |
4 Replies
3,978 Views |
July 10, 2009, 08:37:24 pm by William |
||
6 Replies
5,262 Views |
July 01, 2009, 11:33:57 pm by Roselene |
|||
Myth Busting: Salmonella
Started by goodsamaritan |
4 Replies
4,967 Views |
July 01, 2009, 04:24:25 pm by goodsamaritan |
||
0 Replies
2,910 Views |
June 23, 2009, 10:26:59 pm by goodsamaritan |
|||
1 Replies
4,235 Views |
June 23, 2009, 08:32:51 pm by William |
|||
migraines caused by high carb?
Started by chris h laing « 1 2 3 » |
52 Replies
28,801 Views |
June 17, 2009, 07:19:08 pm by TylerDurden |
||
Receding Gumlines
Started by Squall |
7 Replies
8,391 Views |
May 29, 2009, 12:26:59 pm by PaleoPhil |
||
11 Replies
9,210 Views |
May 28, 2009, 08:21:08 am by Guittarman03 |
|||
People with cramps
Started by Josh |
7 Replies
6,596 Views |
May 17, 2009, 07:06:20 pm by TylerDurden |
||
bleeding gums
Started by whitebuffalo |
23 Replies
16,926 Views |
May 17, 2009, 12:39:54 am by hellwe20 |
||
RPD & STDs
Started by primaD |
17 Replies
13,421 Views |
May 02, 2009, 02:29:56 pm by Spear768 |
||
Post-Surgery and Scars
Started by OldeSword |
3 Replies
6,300 Views |
May 01, 2009, 03:33:59 am by letifer |
||
8 Replies
10,287 Views |
April 22, 2009, 04:14:14 am by TylerDurden |
|||
1 Replies
4,142 Views |
April 21, 2009, 06:55:34 am by ANDREAS |
|||
3 Replies
4,086 Views |
April 18, 2009, 11:01:55 am by Tundra |
|||
Polycystic Ovarian Syndrome
Started by bluesky |
4 Replies
7,724 Views |
April 10, 2009, 10:23:53 pm by RawZi |
||
Parasites
Started by Guittarman03 |
12 Replies
15,578 Views |
April 10, 2009, 03:38:10 am by Raw Rob |
||
43 Replies
24,087 Views |
March 29, 2009, 03:28:15 am by TylerDurden |
|||
MOVED: Cooked meat and health
Started by TylerDurden |
0 Replies
3,355 Views |
March 06, 2009, 10:55:54 pm by TylerDurden |
||
19 Replies
16,744 Views |
March 05, 2009, 08:35:44 am by RawZi |
|||
5 Replies
5,996 Views |
February 28, 2009, 11:42:34 pm by Satya |
|||
the alchemy of eating
Started by coconinoz |
8 Replies
7,373 Views |
February 04, 2009, 12:53:28 am by Sully |
||
Sugar craving cure?
Started by bluesandteals |
10 Replies
9,244 Views |
February 02, 2009, 01:41:45 pm by lex_rooker |
||
Cramping problems are getting worse!
Started by carnivore |
17 Replies
13,000 Views |
December 24, 2008, 04:33:03 pm by William |
||
Salami - and nitrate
Started by Sarav |
11 Replies
11,033 Views |
December 23, 2008, 07:31:45 pm by TylerDurden |
||
Muscle Soreness / Cramps
Started by Guittarman03 |
4 Replies
5,349 Views |
December 15, 2008, 07:03:03 am by coconinoz |
||
Food Poisoning?
Started by Guittarman03 |
7 Replies
8,028 Views |
December 06, 2008, 10:15:55 am by Guittarman03 |
||
Why does raw meat make me sleep better?
Started by Satya |
4 Replies
4,927 Views |
November 24, 2008, 06:29:24 pm by reyyzl |
||
0 Replies
3,654 Views |
November 20, 2008, 09:27:20 pm by rawlion |
|||
slipped disc
Started by Tim |
6 Replies
6,797 Views |
November 12, 2008, 04:15:41 am by Guittarman03 |
||
19 Replies
14,321 Views |
November 10, 2008, 11:42:03 pm by Raw Kyle |
|||
2 Replies
4,729 Views |
September 19, 2008, 12:09:19 am by Kristelle |
|||
chlorine detox
Started by Satya |
0 Replies
4,281 Views |
July 29, 2008, 06:42:49 am by Satya |
||
Back Injury
Started by xylothrill |
13 Replies
10,090 Views |
July 29, 2008, 01:20:00 am by xylothrill |
||
Recommended Tests?
Started by akaikumo |
2 Replies
4,813 Views |
July 20, 2008, 06:18:26 am by akaikumo |
||
Testimonial
Started by TylerDurden |
2 Replies
8,619 Views |
May 28, 2008, 05:19:36 pm by TylerDurden |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll