/* * 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 10 Guests are viewing this board. | ||||
16 Replies
17,983 Views |
March 05, 2011, 09:25:17 pm by magnetic |
|||
3 Replies
3,990 Views |
March 06, 2011, 02:14:10 am by TylerDurden |
|||
Fluoridated Babies
Started by sabertooth |
19 Replies
11,029 Views |
March 06, 2011, 09:14:51 am by magnetic |
||
Raw Lamb Fat Cleanse?
Started by magnetic |
14 Replies
10,005 Views |
March 10, 2011, 07:43:48 am by magnetic |
||
25 Replies
17,799 Views |
March 13, 2011, 11:33:47 pm by raw |
|||
19 Replies
12,352 Views |
March 18, 2011, 05:56:23 am by wodgina |
|||
Hiccups...
Started by laterade |
3 Replies
4,008 Views |
March 20, 2011, 07:10:33 am by laterade |
||
12 Replies
8,547 Views |
March 22, 2011, 02:28:38 pm by laterade |
|||
0 Replies
3,309 Views |
March 28, 2011, 07:42:35 am by Rawdietforhealth |
|||
Don't Drink Too Much Water!
Started by magnetic |
17 Replies
11,741 Views |
March 30, 2011, 05:18:03 am by laterade |
||
instinctive liver flush?
Started by jessica |
3 Replies
3,264 Views |
March 30, 2011, 06:27:25 am by sabertooth |
||
Does anyone have ADD/ADHD?
Started by Josh |
11 Replies
7,010 Views |
March 31, 2011, 06:03:05 am by Dima |
||
More fat more dandruff
Started by Coatue |
8 Replies
8,348 Views |
April 01, 2011, 06:57:39 pm by riy freeman |
||
Report: 5 days on Raw Paleo
Started by MXV |
5 Replies
4,157 Views |
April 12, 2011, 05:51:57 pm by MXV |
||
59 Replies
31,413 Views |
April 15, 2011, 03:46:28 am by klowcarb |
|||
28 Replies
16,576 Views |
April 15, 2011, 06:18:18 am by PaleoPhil |
|||
4 Replies
5,175 Views |
April 22, 2011, 06:22:36 am by Ioanna |
|||
8 Replies
5,804 Views |
April 28, 2011, 10:31:25 pm by goodsamaritan |
|||
Farmed fish is just plain dirty
Started by goodsamaritan |
0 Replies
2,084 Views |
April 29, 2011, 10:03:17 pm by goodsamaritan |
||
how would you treat brain injury?
Started by Raw Kyle |
10 Replies
8,102 Views |
May 01, 2011, 07:56:58 am by Ioanna |
||
3 Replies
2,874 Views |
May 05, 2011, 01:27:35 am by Josh |
|||
preventative Antibiotics
Started by tdister |
8 Replies
6,207 Views |
May 08, 2011, 11:26:47 pm by RawZi |
||
16 Replies
8,585 Views |
May 10, 2011, 08:13:10 am by PaleoPhil |
|||
6 Replies
6,459 Views |
May 15, 2011, 04:52:01 pm by Löwenherz |
|||
11 Replies
6,690 Views |
May 23, 2011, 05:33:56 pm by HIT_it_RAW |
|||
22 Replies
11,255 Views |
May 24, 2011, 01:05:34 pm by RawZi |
|||
3 Replies
5,721 Views |
May 28, 2011, 12:52:08 am by raw-al |
|||
49 Replies
20,596 Views |
May 29, 2011, 02:43:56 pm by Brad462 |
|||
What level of body fat is healthy?
Started by goodsamaritan |
19 Replies
10,205 Views |
June 23, 2011, 11:05:02 pm by klowcarb |
||
High Cholesterol
Started by Coatue |
12 Replies
9,944 Views |
June 27, 2011, 12:59:07 am by raw-al |
||
Reliable Methods to Determine One's Health
Started by zeno |
3 Replies
2,708 Views |
June 28, 2011, 10:02:44 am by eveheart |
||
1 Replies
2,273 Views |
July 27, 2011, 01:52:51 am by Iguana |
|||
Back Pain Relief Without Surgery
Started by goodsamaritan |
1 Replies
2,076 Views |
August 01, 2011, 03:41:17 am by raw-al |
||
7 Replies
4,205 Views |
August 01, 2011, 06:59:46 am by Dorothy |
|||
gluten intolerance
Started by nicole |
15 Replies
8,095 Views |
August 04, 2011, 01:32:16 pm by nicole |
||
weight training
Started by Ricky |
12 Replies
8,387 Views |
August 06, 2011, 09:17:04 pm by Domitilla |
||
33 Replies
17,124 Views |
August 08, 2011, 11:02:00 am by cherimoya_kid |
|||
Bone and Joint Popping Addiction
Started by zeno |
3 Replies
3,213 Views |
August 17, 2011, 08:46:15 pm by miles |
||
41 Replies
27,165 Views |
August 24, 2011, 11:01:39 pm by Dorothy |
|||
72 Replies
39,944 Views |
September 09, 2011, 09:51:34 pm by cherimoya_kid |
|||
Food poisoning
Started by gatesy |
8 Replies
4,447 Views |
September 17, 2011, 01:02:53 am by RawZi |
||
distended colon (newbie)
Started by meandk0610 |
10 Replies
7,435 Views |
September 19, 2011, 12:12:19 pm by raw |
||
9 Replies
6,655 Views |
September 21, 2011, 01:36:50 pm by raw |
|||
Cause of Heart Disease?
Started by goodsamaritan |
17 Replies
11,228 Views |
September 29, 2011, 07:58:48 am by Dorothy |
||
7 Replies
9,091 Views |
September 30, 2011, 03:07:25 pm by TylerDurden |
|||
8 Replies
6,059 Views |
October 02, 2011, 04:28:15 pm by RogueFarmer |
|||
Sport Injuries
Started by Neone |
1 Replies
2,169 Views |
October 11, 2011, 11:14:06 am by RawZi |
||
13 Replies
8,466 Views |
October 12, 2011, 06:24:20 pm by Löwenherz |
|||
4 Replies
3,244 Views |
October 13, 2011, 04:42:17 pm by RawZi |
|||
Can you list other worthwhile health forums?
Started by goodsamaritan « 1 2 » |
31 Replies
15,035 Views |
October 17, 2011, 02:39:09 am by RawZi |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll