/* * 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 44 Guests are viewing this board. | ||||
1 Replies
2,096 Views |
March 07, 2013, 08:40:41 am by LePatron7 |
|||
Aspartame in milk (unlabelled)
Started by raw-al |
2 Replies
1,807 Views |
February 26, 2013, 11:22:16 am by eveheart |
||
Ocean brine
Started by RogueFarmer |
2 Replies
2,203 Views |
February 26, 2013, 12:20:03 am by dogman333 |
||
A cooked version of pemmican?
Started by mango |
1 Replies
2,888 Views |
February 22, 2013, 01:19:04 am by van |
||
19 Replies
11,134 Views |
February 21, 2013, 10:24:07 pm by esotericlox |
|||
29 Replies
12,669 Views |
February 20, 2013, 09:39:55 pm by Löwenherz |
|||
75 Replies
22,578 Views |
February 20, 2013, 07:43:55 am by CitrusHigh |
|||
Wow your fly is glowing
Started by raw-al |
5 Replies
2,619 Views |
February 19, 2013, 12:09:35 pm by svrn |
||
11 Replies
5,331 Views |
February 19, 2013, 05:19:21 am by svrn |
|||
Vaccinations and narcolepsy
Started by raw-al |
0 Replies
1,505 Views |
February 18, 2013, 05:30:23 am by raw-al |
||
85 year old fruitarian
Started by Löwenherz |
0 Replies
2,283 Views |
February 16, 2013, 06:30:23 pm by Löwenherz |
||
Grapefruit and Drugs
Started by raw-al |
0 Replies
1,985 Views |
February 11, 2013, 11:26:00 pm by raw-al |
||
'Genetic Roulette' Movie
Started by raw-al |
4 Replies
2,503 Views |
February 11, 2013, 04:01:45 am by Projectile Vomit |
||
The Faileo Diet
Started by Projectile Vomit |
1 Replies
1,918 Views |
February 06, 2013, 08:51:54 am by goodsamaritan |
||
Let us talk about more minerals
Started by raw |
21 Replies
8,861 Views |
February 05, 2013, 01:18:55 pm by Joy2012 |
||
Interesting detox ideas
Started by majormark |
0 Replies
1,847 Views |
February 04, 2013, 06:43:32 pm by majormark |
||
41 Replies
18,264 Views |
February 02, 2013, 06:22:21 am by PaleoPhil |
|||
3 Replies
5,098 Views |
January 31, 2013, 02:06:52 pm by raw-al |
|||
Sexuality
Started by FlyingDutchwoman |
6 Replies
4,314 Views |
January 31, 2013, 06:36:55 am by Wolf |
||
3 Replies
3,484 Views |
January 30, 2013, 04:05:25 am by LePatron7 |
|||
Getting Rid of Bad Bacteria?
Started by badboy9311 |
15 Replies
8,655 Views |
January 25, 2013, 08:19:43 am by LePatron7 |
||
15 Replies
7,874 Views |
January 24, 2013, 03:40:14 am by sabertooth |
|||
camels can cure anything?
Started by raw |
5 Replies
4,508 Views |
January 14, 2013, 01:50:11 pm by CS |
||
How do you react to peanut butter?
Started by Michelle |
5 Replies
2,615 Views |
January 13, 2013, 07:30:25 am by Alive |
||
66 Replies
19,588 Views |
January 12, 2013, 07:14:41 am by PaleoPhil |
|||
Vegetable sprouts
Started by Barefoot Instincto |
14 Replies
6,087 Views |
January 08, 2013, 02:20:37 pm by van |
||
78 Replies
26,265 Views |
January 08, 2013, 09:34:53 am by Suiren |
|||
Dr. Keith Scott Mumby re cancer
Started by raw-al |
2 Replies
1,958 Views |
January 06, 2013, 12:37:27 pm by raw-al |
||
10 Replies
5,320 Views |
January 05, 2013, 03:41:01 am by LePatron7 |
|||
27 Replies
14,788 Views |
January 04, 2013, 08:34:43 am by PaleoPhil |
|||
27 Replies
19,677 Views |
January 04, 2013, 03:58:01 am by zaidi |
|||
NOT traditional
Started by William |
11 Replies
5,487 Views |
January 01, 2013, 08:07:26 pm by Inger |
||
mysterious raw egg death
Started by svrn |
7 Replies
7,749 Views |
January 01, 2013, 05:09:21 pm by Iguana |
||
fascinating talk
Started by svrn |
3 Replies
2,772 Views |
December 19, 2012, 07:08:25 pm by SonJonSon |
||
Fiber benefits article
Started by Joy2012 |
11 Replies
4,590 Views |
December 13, 2012, 08:05:39 am by goodsamaritan |
||
Dr Oz flipflops on organics
Started by raw-al |
1 Replies
1,632 Views |
December 07, 2012, 07:18:26 am by LePatron7 |
||
10 Replies
5,691 Views |
December 07, 2012, 02:17:22 am by cherimoya_kid |
|||
8 Replies
4,096 Views |
December 04, 2012, 11:04:56 am by Joy2012 |
|||
article on raw milk
Started by LePatron7 |
2 Replies
2,109 Views |
December 02, 2012, 11:42:24 pm by LePatron7 |
||
1 Replies
2,078 Views |
December 01, 2012, 09:05:14 am by LePatron7 |
|||
1 Replies
2,192 Views |
November 29, 2012, 12:30:39 am by freezerburn |
|||
Beyond Broccoli
Started by Projectile Vomit |
1 Replies
2,236 Views |
November 26, 2012, 01:30:59 pm by Polyvore |
||
Unrefined Red Palm Oil
Started by FlyingDutchwoman |
4 Replies
3,176 Views |
November 23, 2012, 04:08:53 am by TylerDurden |
||
More 'cooking gave us big brains' bullshit
Started by Alive |
7 Replies
5,066 Views |
November 20, 2012, 03:31:31 pm by Ioanna |
||
0 Replies
2,749 Views |
November 19, 2012, 07:43:03 pm by Löwenherz |
|||
Is Alcohol good for us?
Started by Duke |
13 Replies
8,195 Views |
November 15, 2012, 09:59:25 pm by Bio-shell Avatar |
||
0 Replies
2,059 Views |
November 12, 2012, 04:54:54 pm by Alive |
|||
Energy / device medicine
Started by raw-al |
0 Replies
1,987 Views |
November 12, 2012, 12:17:57 pm by raw-al |
||
3 Replies
2,947 Views |
November 06, 2012, 03:17:48 am by Bio-shell Avatar |
|||
Hey buddy can you spare 43 trillion?
Started by raw-al |
0 Replies
1,760 Views |
November 05, 2012, 01:07:42 pm by raw-al |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll