/* * 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 11 Guests are viewing this board. | ||||
Withdrawal maybe? Need a little help
Started by ambers |
7 Replies
5,313 Views |
December 09, 2010, 07:38:20 pm by ambers |
||
37 Replies
22,496 Views |
December 10, 2010, 01:58:55 pm by Hannibal |
|||
Any cures for auditory processing.
Started by pioneer |
10 Replies
7,307 Views |
December 11, 2010, 06:26:38 am by goodsamaritan |
||
Gallstones/Fasting.
Started by miles |
5 Replies
8,305 Views |
December 12, 2010, 03:09:13 am by RawZi |
||
10 Replies
9,494 Views |
December 12, 2010, 01:53:44 pm by RawZi |
|||
10 Replies
8,455 Views |
December 12, 2010, 09:31:13 pm by Rawdietforhealth |
|||
Help! I'm being eaten alive by fungi, do I need high meat?
Started by riy freeman « 1 2 » |
25 Replies
12,534 Views |
December 14, 2010, 07:20:30 am by RawZi |
||
9 Replies
6,783 Views |
December 15, 2010, 03:12:46 am by TylerDurden |
|||
6 Replies
3,709 Views |
December 22, 2010, 04:39:37 am by turkish |
|||
1 Replies
2,315 Views |
December 22, 2010, 01:04:00 pm by RawZi |
|||
How do you obtain fats?
Started by Techydude |
10 Replies
6,148 Views |
December 24, 2010, 11:57:39 pm by PaleoPhil |
||
Omega-3 content of bone marrow?
Started by Techydude |
3 Replies
4,419 Views |
December 27, 2010, 11:06:40 am by Dima |
||
16 Replies
8,977 Views |
December 27, 2010, 01:59:20 pm by kurite |
|||
2 Replies
2,369 Views |
December 28, 2010, 08:47:25 pm by goodsamaritan |
|||
6 Replies
3,836 Views |
January 01, 2011, 06:26:14 am by bharminder |
|||
6 Replies
4,082 Views |
January 01, 2011, 09:11:01 pm by achillezzz |
|||
6 Replies
5,229 Views |
January 01, 2011, 11:03:13 pm by Rawdietforhealth |
|||
17 Replies
9,645 Views |
January 02, 2011, 06:05:02 am by PaleoPhil |
|||
triglycerides and cholesterol
Started by a87.pal |
23 Replies
14,331 Views |
January 02, 2011, 05:14:30 pm by Rawdietforhealth |
||
Desperation For Health & Metabolic Ruin
Started by MrBBQ |
22 Replies
10,160 Views |
January 03, 2011, 04:09:03 pm by Angeline |
||
63 Replies
26,081 Views |
January 08, 2011, 10:42:21 am by achillezzz |
|||
7 Replies
5,775 Views |
January 12, 2011, 10:37:17 am by sabertooth |
|||
27 Replies
13,669 Views |
January 14, 2011, 03:51:57 pm by arniedlreyes |
|||
How do you eat tallow/suet?
Started by Techydude |
5 Replies
6,009 Views |
January 15, 2011, 06:43:15 am by Neone |
||
1 Replies
2,467 Views |
January 15, 2011, 06:27:47 pm by bharminder |
|||
Copper toxicity
Started by CHK91 |
11 Replies
12,688 Views |
January 20, 2011, 06:09:19 pm by Bowen |
||
Has anyone here ever had a defficiency?
Started by kurite |
6 Replies
4,063 Views |
January 23, 2011, 01:31:32 pm by kurite |
||
15 Replies
8,378 Views |
January 28, 2011, 09:52:21 am by miles |
|||
6 Replies
3,171 Views |
January 28, 2011, 10:23:05 pm by Josh |
|||
Goodsamaritan, can you help me please?
Started by MrBBQ |
1 Replies
2,207 Views |
January 30, 2011, 09:57:46 pm by ForTheHunt |
||
14 Replies
7,840 Views |
January 31, 2011, 11:47:07 pm by TylerDurden |
|||
Estrogen Dominance
Started by MrBBQ |
8 Replies
7,065 Views |
February 04, 2011, 04:33:21 am by sabertooth |
||
9 Replies
7,391 Views |
February 06, 2011, 02:11:02 pm by Techydude |
|||
Concussion Nutrition
Started by Guittarman03 |
4 Replies
4,828 Views |
February 07, 2011, 03:20:44 am by kurite |
||
Dental/Mouth Health
Started by Techydude |
5 Replies
4,876 Views |
February 11, 2011, 09:49:03 am by kurite |
||
Islet Cells destroyed by Immune System
Started by miles |
0 Replies
1,962 Views |
February 13, 2011, 12:20:10 pm by miles |
||
2 Replies
2,907 Views |
February 14, 2011, 11:27:00 am by laterade |
|||
cold feet after eating
Started by rawcarni |
24 Replies
15,961 Views |
February 14, 2011, 11:56:23 pm by miles |
||
35 Replies
23,171 Views |
February 15, 2011, 04:25:21 pm by Wolf |
|||
8 Replies
5,669 Views |
February 16, 2011, 07:19:06 pm by CitrusHigh |
|||
Poop time = Painful
Started by chop-chop |
13 Replies
8,849 Views |
February 21, 2011, 08:56:31 pm by Brother |
||
48 Replies
23,955 Views |
February 23, 2011, 08:16:51 am by raw-al |
|||
Prostate Problems All Cured with RPD?
Started by goodsamaritan « 1 2 » |
36 Replies
18,820 Views |
February 25, 2011, 03:26:55 am by laterade |
||
1 Replies
2,492 Views |
February 26, 2011, 08:34:33 am by kurite |
|||
Burning stomach from raw honey
Started by Caveman |
20 Replies
34,579 Views |
February 27, 2011, 02:02:46 am by PaleoPhil |
||
Sulfuric gas
Started by Caveman |
0 Replies
2,556 Views |
February 28, 2011, 07:41:31 am by Caveman |
||
Liver/GB Flushing vs Cancer
Started by MrBBQ |
11 Replies
7,982 Views |
March 02, 2011, 12:41:28 am by MrBBQ |
||
29 Replies
22,802 Views |
March 03, 2011, 10:36:56 pm by wodgina |
|||
candida carbs
Started by rawlion |
17 Replies
16,178 Views |
March 04, 2011, 07:27:59 am by wodgina |
||
Help, lost lot of weight - maybe ulcers
Started by turkish |
12 Replies
7,650 Views |
March 05, 2011, 04:17:39 am by turkish |
Normal Topic
Hot Topic (More than 15 replies)
Very Hot Topic (More than 30 replies)
Locked Topic
Sticky Topic
Poll