/* * 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 21 Guests are viewing this board. | ||||
13 Replies
7,213 Views |
July 10, 2010, 11:43:50 am by pioneer |
|||
6 Replies
4,578 Views |
July 09, 2010, 03:11:54 pm by Josh |
|||
Adya Clarity supplement
Started by ForTheHunt |
5 Replies
5,330 Views |
July 09, 2010, 02:38:19 pm by goodsamaritan |
||
47 Replies
23,885 Views |
July 09, 2010, 01:46:59 pm by King Salmon |
|||
RPD the most irresponsible diet?
Started by goodsamaritan |
8 Replies
5,370 Views |
July 07, 2010, 03:34:20 pm by TylerDurden |
||
No Impact Man
Started by raw-al |
5 Replies
3,288 Views |
July 05, 2010, 09:16:52 pm by wodgina |
||
13 Replies
8,593 Views |
June 28, 2010, 10:28:32 am by KD |
|||
27 Replies
15,989 Views |
June 26, 2010, 01:26:29 pm by Hannibal |
|||
How bout parasites?
Started by pioneer |
1 Replies
2,085 Views |
June 22, 2010, 12:15:06 pm by ys |
||
23 Replies
9,809 Views |
June 20, 2010, 02:12:13 am by Hans89 |
|||
10 Replies
5,458 Views |
June 19, 2010, 04:14:27 pm by RawZi |
|||
Man eats raw baboon meat
Started by xnadam |
3 Replies
4,107 Views |
June 14, 2010, 07:46:56 pm by TylerDurden |
||
what does your significant other eat?
Started by Ioanna |
9 Replies
5,095 Views |
June 11, 2010, 09:37:29 pm by cherimoya_kid |
||
RPD nutrition jobs?
Started by pioneer |
11 Replies
5,446 Views |
June 11, 2010, 01:49:46 am by pioneer |
||
8 Replies
4,761 Views |
June 10, 2010, 08:51:06 am by klowcarb |
|||
6 Replies
3,831 Views |
June 09, 2010, 06:12:46 am by goodsamaritan |
|||
29 Replies
12,408 Views |
June 07, 2010, 11:48:28 am by tehshyt |
|||
High fructose corn syrup is good for you
Started by pioneer |
5 Replies
3,876 Views |
June 07, 2010, 03:13:52 am by Hans89 |
||
26 Replies
13,347 Views |
June 02, 2010, 05:18:04 pm by miles |
|||
fructose and hyperuricemia
Started by alphagruis |
5 Replies
4,309 Views |
June 02, 2010, 12:49:37 am by alphagruis |
||
10 Replies
5,933 Views |
May 31, 2010, 10:39:45 am by invisible |
|||
Fasting before exercise
Started by TylerDurden |
2 Replies
3,319 Views |
May 24, 2010, 10:53:49 pm by bonebroth |
||
Paul Chek video
Started by pioneer |
7 Replies
6,295 Views |
May 24, 2010, 06:07:25 am by pioneer |
||
Masai blood drinking video
Started by pioneer |
12 Replies
9,514 Views |
May 23, 2010, 11:59:43 pm by pioneer |
||
Chewing meat. What's your take ?
Started by chucky |
21 Replies
11,074 Views |
May 22, 2010, 07:56:40 am by RawZi |
||
14 Replies
6,868 Views |
May 20, 2010, 04:13:30 pm by chucky |
|||
High Meats = ALE/AGEs?
Started by MrBBQ |
1 Replies
2,094 Views |
May 15, 2010, 09:45:38 pm by alphagruis |
||
Grassfed Beef in Ireland
Started by needs_and_wants |
8 Replies
6,302 Views |
May 14, 2010, 01:36:35 am by majormark |
||
5 Replies
3,700 Views |
May 07, 2010, 06:51:44 am by kurite |
|||
Eat Fat Get Thin! E-Book
Started by vril176 |
9 Replies
7,345 Views |
May 06, 2010, 08:33:31 am by cherimoya_kid |
||
Re: Substituting animal fats for olive oil
Started by William |
9 Replies
4,073 Views |
May 05, 2010, 04:41:48 pm by TylerDurden |
||
Good Calories, Bad Calories E-book
Started by vril176 |
5 Replies
4,196 Views |
May 05, 2010, 03:49:04 am by MrBBQ |
||
34 Replies
14,592 Views |
May 01, 2010, 12:06:41 am by alphagruis |
|||
13 Replies
8,526 Views |
April 24, 2010, 05:23:35 pm by TylerDurden |
|||
11 Replies
14,829 Views |
April 23, 2010, 06:25:00 pm by Raw Kyle |
|||
Grass fed?
Started by William |
7 Replies
4,129 Views |
April 22, 2010, 12:24:44 pm by wodgina |
||
Re: Planning to ask the following things from Aajonus
Started by William |
9 Replies
4,086 Views |
April 20, 2010, 06:02:41 am by PaleoPhil |
||
Useful advice
Started by William |
3 Replies
2,726 Views |
April 19, 2010, 03:10:21 am by KD |
||
The Vegetarian Myth
Started by Sitting Coyote |
21 Replies
9,166 Views |
April 16, 2010, 02:26:28 am by Hans89 |
||
Wrangham on OneRadioNetwork
Started by michaelwh |
6 Replies
3,644 Views |
April 16, 2010, 12:48:33 am by TylerDurden |
||
5 Replies
3,884 Views |
April 14, 2010, 08:24:38 am by cherimoya_kid |
|||
18 Replies
8,973 Views |
April 14, 2010, 03:24:14 am by Megan Megatoast |
|||
30 bananas exposed
Started by ys |
5 Replies
6,218 Views |
April 13, 2010, 12:48:24 pm by goodsamaritan |
||
Liquid Smoke?
Started by kurite |
4 Replies
4,874 Views |
April 12, 2010, 05:34:59 pm by Josh |
||
7 Replies
7,923 Views |
April 12, 2010, 10:05:53 am by Enigma |
|||
11 Replies
5,583 Views |
April 12, 2010, 03:26:17 am by sanborn |
|||
31 Replies
11,836 Views |
April 10, 2010, 06:51:54 pm by chucky |
|||
18 Replies
8,486 Views |
April 10, 2010, 10:20:37 am by goodsamaritan |
|||
18 Replies
8,299 Views |
April 09, 2010, 10:24:34 pm by Hannibal |
|||
DurianRider
Started by ForTheHunt « 1 2 » |
30 Replies
16,881 Views |
April 09, 2010, 07:45:43 pm by miles |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll